video-js does not work with Primefaces 10
See original GitHub issueHi, I have a simple xhtml page with a video-js tag:
<h:outputScript name="video-js/video.min-7.3.0.js" target="head" />
<h:outputScript name="video-js/http-streaming.min-1.11.1.js" target="head" />
<h:outputStylesheet name="video-js/video-js-7.5.5.css" />
...
<h:form>
...
<video
id="player"
class="video-js vjs-default-skin"
width="854" height="480"
data-setup='{"html5": {"hls": {"withCredentials": true}}, "controls": true, "autoplay": true, "muted": false}'
>
<source src="#{recorder.mediaURL}"
type="#{recorder.mediaMimeType}"/>
</video>
...
Using Primefaces 8.0.2, the video tag works fine, the player starts and play the video correctly.
Using Primefaces 10.0.0, the video tag does not work and console provides the following errors:
Uncaught TypeError: v.setTimeout is not a function at _t (video.min-7.3.0.js.xhtml:12)
Uncaught TypeError: Cannot read property ‘mergeOptions’ of undefined at http-streaming.min-1.11.1.js.xhtml:1685
Best regards
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (11 by maintainers)
Top Results From Across the Web
jsf 2 - Video (p:media) does not start - Stack Overflow
When using StreamedContent, I start to render after loading the video. My config: PrimeFaces 3.5; Apache MyFaces 2.1.12; Jetty 9.0.4. What can ......
Read more >player is already initialised options will not be applied, videojs
The output video is working fine in IE 10 but it is not working perfectly in Chrome. scrubbing( isScrubbing ) Returns whether or...
Read more >VideoJS setup guide to scale for responsive design on all ...
I have a html-website and I don't use any div. I put the code in a table and I don have no problems...
Read more >Showcase examples not working on IE - PrimeFaces forum
I was testing some stuff on my site that was not working in IE10 but working fine in chrome/firefox & then I checked...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If someone creates a small reproducer i can look at it and try and see what is causing it but it definitely seems to be a JS conflict.
Closing this ticket for now until @giulianoc can provide a reproducer as @jepsar has tested on 10.0.0 and its working fine. I will reopen if @giulianoc can provide a test case.