![](https://secure.gravatar.com/avatar/6e28fec33c145e0642f5e627fa38bfac?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
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.