Too many videos in a page?

Hi

I want to share an strange behavior when adding videos in a page.

I’m using S3 and cloudfront with JW player.

If the page has a single video, it works fine.
If it has 5 videos, it works fine.
If it has 7 videos… then an strange behavior appears.

  • If you press PLAY in a video after the page is fully loaded, it takes a few seconds before play.
  • If you DON’T press play and wait for a while, when you press play, the video is shown inmediatly.

This “delay” time is incressed when adding videos.

I have a page with 20 videos an it takes a long time before play any of them.

This does NOT happen in my PC running windows 10. This happens in Android and a PC running windows 7.

I have tried jwplayer-v7, jwplayer-v7-rtmp and different values for ssl, count_against_user and check_user

I am using a shortcode with this code:

[s2Stream player=“jwplayer-v7-rtmp” player_path="/jwplayer/jwplayer.js" player_key=“xxxxxx” ssl=“yes” download_key=“yes” player_primary=“html5” file_download="’.$atts[path].’" /]

Does any one experienced this behavior?

Does any one know how to solve it?

Thanks

The key is the number “7” - the version of the player :slight_smile:

Well, seriously: Seems player loads videos on background. Can you set your videos “one on a page”, and create a list with links to these pages, instead to have all the videos on a single page?

I will make a workaround like that, but I’d like to know how to fix it.

You can not - the problem is in the design of the player. I can build a function for you, maybe like a shortcode, to implement this workaround, thus to be easer for you. But this is still a workaround, actually I can not too.

Another possibility: There in docs of the player can be explained a way to set the player to not pre-load the videos. But I am not checked. And if it exists, not sure how it can be applied “trough” s2M… Well, may worth checking…

Thank you for the offer.

In fact, there are 6 videos per page and what I do is agregate the pages in one.

What I’ll do is do not agregate and link to each page.

But I prefer the other interface.