AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
![]() In addition to setting the autoAdvance, repeat, and presentUpcoming parameters, you can also optionally provide a sorter (receives the name of a function that determines the sort order of the retrieved set of videos) and a sourceParams object (enables you to set transformations that will be applied to all the retrieved videos in the playlist). The playlistByTag method receives the tag to use and a set of options. To enable this functionality, make sure that the Resource list option is not restricted in your account settings: In the Cloudinary console, go to Settings > Security > Restricted image types, and make sure the Resource list option is not selected. The next video in the list automatically begins 10 seconds after the previous, and then repeats the playlist from the beginning after the last video ends. The book video plays with a transformation that overrides the default player settings. The following example creates a playlist with the videos IDs: book, ocean, and dog. For example, you can jump to the next or previous video, jump to a specific video in the playlist by index, determine whether to auto-advance to the next video when the previous one ends, retrieve the total number of videos in the list, and more. ![]() Alternatively, you can generate a playlist based on all videos in your Cloudinary account with a specified tag.Īfter you have defined a playlist, you can use playlist methods to control the list. ![]() You can define a list of public IDs to include, and optionally set transformations for each source. Use the video player's playlist method to create a set of videos to play in your video player. User-defined variables and arithmetic transformations.
0 Comments
Read More
Leave a Reply. |