Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Ok. I get it. I get it.
But........
.... why the variable is named in singular?
.... why does this function not return any value?
Btw. Get videos for main page.
;) -
@hack
There is a function for getting the videos for the main page.
It is called "getVideosForMainPage".
It is well document with comments, but sadly it does not return a video variable which is defined in the function "getVideosForMainPage"
So. No videos for main page yet. Sorry... -
Yeah i had to post it before i wrote the rest of the code.
It does return an array of videos.
And also I changed it from video to videos
Get videos for main page
random
get videos for main page