Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

jwAdvancedSetup


I would like to know what is the correct code to rotate a .mp4 video file in the jw player script? I have a folder with about 5 different .mp4 videos I would like the jwplayer to random rotate a video on each click of the play button. Whats the best way to do this? Thanks

example of url im calling now for just 1 video

file: 'http://example.com/videos/hdvideo.mp4', <<< how would i rotate between random .mp4 video files on click of the play button.

3 Community Answers

Donni

JW Player Support Agent  
1 rated :

We do not provide built-in functionality for this. However, here is a demo that was created.

djccutta

User  
0 rated :

thanks but that link does not now is there another link?

Donni

JW Player Support Agent  
0 rated :

Do you mean like rotate the video from landscape to portrait or just shuffle through available videos?

This question has received the maximum number of answers.