Git Product home page Git Product logo

Comments (4)

vdewani avatar vdewani commented on May 20, 2024

Try putting each video in its own "video-js-box" container instead of grouping all of them up in one. It works fine for me.

from video.js.

r0bdiabl0 avatar r0bdiabl0 commented on May 20, 2024

I am having an issue with multiple videos on a single page as well. However, my second video is only displayed using a css pop up window. The second video does not display a poster image as it should and the controls are at the top of the video window until you click play. Very weird.

You can see this live at http://www.lasermedcenter.com.

The second video with the issues can be seen by clicking the Physicians Page link at the top of the site.

Any ideas?

from video.js.

heff avatar heff commented on May 20, 2024

Video.js 4.0 is available now, so this issue may be fixed or out of date. If you think it's still an issue, please confirm using 4.0 and reopen.

from video.js.

harikris2007 avatar harikris2007 commented on May 20, 2024

i am also facing the same issue when i added multiple video player in same page.
The js code as follows.
var stream_url = $(this).attr('data-stream'); wiFetchBroadcast(entryId); player = videojs('wiPlayer'); player.src({ src: **stream_url** , type: "application/x-mpegURL", useCueTags: true }); window.onOrientation(player, 'wiPlayer'); player.play();

The video html is like:
Here the player div is generated according to the values returned from an api call used in my project.
In the api ,it returns the video url (stream_url )and i directly assign the url to the js.

<video id="wiPlayer" width=600 height=364 class="video-js vjs-default-skin" controls autoplay="autoplay"> <!-- <source src="media/demo.mp4" type="video/mp4"> --> <p class="vjs-no-js">We're sorry, but your browser doesn't support Video</p> </video>

Here the first player is only playing the video and the rest are not playing.Any solution for this?

from video.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.