Questions tagged [video.js]

Video.js is an open source JavaScript framework for embedding and working with HTML5 and Flash video. It uses the HTML5 video tag as an embed code, and has a common HTML/CSS skin and API for both HTML5 and Flash.

What is ?

Video.js is an and library that makes it easier to work with and build on . This is also known as an HTML5 Video Player. it's licensed under the Apache License, Version 2.0. View the license file.

Video.js provides a common controls skin built in HTML/CSS, fixes cross-browser inconsistencies, adds additional features like fullscreen and subtitles, manages the fallback to Flash or other playback technologies when HTML5 video isn't supported, and also provides a consistent JavaScript API for interacting with the video.

It can be extended to work with additional players, like YouTube and QuickTime. Video.js also support HLS, 360 degree, live streaming and panorama videos.


Resources

2234 questions
0
votes
1 answer

Low latency RTMP playback with video.js

i'am trying to play a RTMP stream with low latency uinsg HTML5, vido.js and videojs-flash. For now i can get the stream to display with a 3-4 seconds latency but playing the same stream with ffplay gives a sub-second latency. Looking at older…
0
votes
1 answer

Stop video when a modal is closed (videojs)

I use videojs plugin to customize a video player. I have 30 modals with one different video in each modal (Youtube, Dailymotion, Vimeo). I added two buttons next/prev to pass between each modal (modal always open). All work fine. Each video is well…
Jandon
  • 605
  • 7
  • 32
0
votes
1 answer

Previewing video on change of input files with Video.js

i´m traying to preview a video on change of an input type file, I get the error when I put the src getted by the input type file on the of the video.js, this is my code:
0
votes
1 answer

How to catch manual seeking in video.js?

There's a seeked event fired in video.js each time I've sought manually or changed with player.currentTime(time). Is there any possibility to distinguish those workflows? Thanks.
Agnislav
  • 299
  • 1
  • 9
0
votes
0 answers

Videojs: how to add a current frame display instead of time?

I want to add a new part in the control bar, which can show the current frame number of the video. I have already the FPS calculated by Flask, and I think multiplying fps and current time will do? (Once occasionally I found there is a…
Jozx
  • 61
  • 1
  • 6
0
votes
1 answer

How to set color of existing css class, from props of a react component

I am trying to modify the styling (colors) of existing class from the videojs Library. I found that we can modify from css file. But I need to modify from the colour we get from react props, which is dynamic each time. So, we have a class called…
Hari Shankar
  • 43
  • 10
0
votes
0 answers

Brightcove error event not triggering on Firefox

I have the following code: index.html Custom modal example
Ivan
  • 2,469
  • 1
  • 12
  • 24
0
votes
2 answers

How to add a custom button to video js player

I want to make a button which is a link to another page to the video js video player which I am using but nothing seems like working. After adding the button it got added to the control panel of the player but the button is not visible to the user.…
AdminRoy
  • 105
  • 1
  • 8
0
votes
0 answers

Unable to load Cast Sender framework on Chrome Android

I'm trying to implement chromecast on my nuxt(vuejs) webapp, cast framework loading and working well on chrome desktop. But can't load it on android chrome version. This code working on desktop and i can cast without…
Vivien B
  • 83
  • 8
0
votes
1 answer

Seeking in ad using Google ima sdk and videojs

I currently cannot find a way to seek through ads using the videojs player and the ima sdk plugin for it. The api documentation doesent mention anything about seeking and using the seek function provided by videojs just seeks within the underlying…
mind
  • 432
  • 6
  • 18
0
votes
1 answer

Multiples instances of VideoJS playlist are deprecated

I'm developing a Wordpress Plugin that allows users to add custom video playlists to their pages or posts, and for that I'm using Videojs and Videojs Playlist libraries. I've successfully managed to add a single playlist into a page, but when a…
0
votes
3 answers

Can not run video with link embed youtube

I can run video with link embed youtube. My code:
0
votes
1 answer

VideoJs not playing on Browser and Devices

I wrote an app for Video Player using video.js, but its not playing when I clicked on play. I tried to inspect on the browser and I saw this error: Uncaught TypeError: The element or ID supplied is not valid. (videojs) at videojs…
user11352561
  • 2,277
  • 12
  • 51
  • 102
0
votes
1 answer

AngularJS - Expandable rows not working with ng-repeat

I have hard-coded two expandable rows which work fine. However, when I try to introduce ng-repeat the rows will no longer expand. Working version: https://jsbin.com/tiwufiz/3/edit?html,js,console,output ng-repeat version:…
jamesbcn
  • 307
  • 4
  • 6
  • 20
0
votes
0 answers

Custom dragger over seekbar of videojs player

I want to add a custom dragable button over seek bar of the videojs player, which should give the current position or timestamp of the video whenever it has been pointed somewhere over seek bar
1 2 3
99
100