JillzTom's avatar

Cannot load two videos at the same time

@JeffreyWay I'm trying to load two videos at the same time in laracasts. But the second one isn't loading until I close the first video tab. Is this some kind of security measure that you took or is it just me? I'm trying it in Win 10 chrome.

0 likes
8 replies
jhoff's avatar

https://media.giphy.com/media/1M9fmo1WAFVK0/giphy.gif

Kidding aside, Using chrome on OSX, and am able to open multiple videos at the same time.

I gotta stop them though... I can't handle listening to 2 Jefferys at once...

EDIT: I stand corrected. I don't know how I just managed to do it, because now I can't do it again. You might be right. I'm guessing there may be a limit to the number of concurrent streams to the same session.

It seems to allow you to open a second stream if you use a private browsing session. I don't think it's specifically tied to the user account either. It likely just a limitation per session.

JillzTom's avatar

While I'm watching one video, If I have any doubt, I'm not able to watch another video in another tab by pausing the one I was watching, until I close the one I was watching.

jhoff's avatar

That makes sense. It does seem odd that there is a 1 video per session limit. I wonder if theres a cost associated with it.

tankerkiller125's avatar

Definitely a cost thing. Its extremely unlikely that someone is paying attention to both streams at the same time and if a user is streaming two at the same time just to re-watch one of them because they weren't paying attention to it it would nearly double the bandwidth used. Not to mention @JeffreyWay is not YouTube and the server(s) he uses definitely has a maximum upload rate and in order to get everyone the best quality stream (little/no buffering) he needs to keep the pipes as open as possible which means limiting how many videos a single user can watch at the same time.

jhoff's avatar

It looks like he's using vimeo to host the video. Likely through the PRO membership. I'm guessing it's a limitation that Vimeo makes where a user can't stream multiple videos at the same time, but I can't find anything about it in their help center or documentation.

tankerkiller125's avatar

@jhoff actually based on my Dev Tools he's just using videojs which means that he's probs streaming from his own servers (makes sense) and I tested Vimeo, It does allow you to watch multiple (well over a dozen) at the same time.

jhoff's avatar

https://i.imgur.com/knJtWNY.png

Certainly looks like the vimeo cdn to me. The player source is //player.vimeo.com/external/xxxxxxx.hd.mp4...

Vimeo seems to differentiate in their documentation that embedded, off-site streams are handled differently than videos directly on vimeo.com or vimeopro.com. I'm guessing this is an intentional limitation that we experience because the videos are embedded.

Additionally, I think he's using videojs to just skin the vimeo stream.

Please or to participate in this conversation.