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


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: '', <<< how would i rotate between random .mp4 video files on click of the play button.

3 Community Answers


JW Player Support Agent  
1 rated :

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


0 rated :

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


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.