Questions tagged as 'videojs'

2
answers

How to put a video to open in fullscreen automatically in an HTML page?

Apparently for a video to be in fullscreen there needs to be interaction with the user. Most players , including the native HTML5 have ' fullscreen ' button. I'm building an interactive offline platform and need to click on a teaser but...
asked by 26.10.2017 / 16:49
1
answer

Create a video by javascript

I tried to create a video on my page which is generated by button click through javascript, as follows in the code: function tocar_video(mysrc){ var video = document.createElement('video'); video.src = mysrc; video.autoplay = true;...
asked by 27.02.2018 / 16:57
1
answer

How to set the VideoJS size by percentage

I would like to set the size of the VideoJS such as 40% m as defined by CSS, and that when the browser size is changed, it adapts to the new percentages. So far I have this <div class="videoContainer"> <video id="player" he...
asked by 04.05.2017 / 22:00
0
answers

Pause live streaming requests with videojs

I'm using videojs to play live streams in my application. The problem I realized is that even when the transmission is paused it is generating request and downloading data. I researched the documentation and git of the project, but fou...
asked by 18.10.2018 / 15:33
0
answers

How can I hide only a few attributes of HTML5 video controls?

I would like to leave in the video only the volume and play / pause controls. With the option to download the video, the FULL-WIDHT button to see the enlarged video and the progress bar. What is the easiest way to do this using html and or js?...
asked by 09.09.2018 / 01:57
0
answers

How to implement Video.js-ass in Vue

Hello, I'm trying to implement videojs-ass in Vue (# Current code: <template> <q-page class="flex flex-center"> teste <video id="player" class="video-js vjs-default-skin vjs-big-play-centered"> <source...
asked by 04.08.2018 / 20:48
0
answers

RangerError: stack size exceeded because of very large directory

I'm developing an application with Angular.io and VideoJS I want to insert the VideoJS repository into a lib directory in my Angular project, to make development easier. The problem is that the Webpack of the Angular project can only c...
asked by 05.04.2018 / 20:52
0
answers

VideoJS ASS does not work on pages with RewriteRule

I use RewriteRule (.*) /index.php [QSA,L] and to manage URLs I use this code: <?php $url = ltrim( parse_url( $_SERVER['REQUEST_URI'] , PHP_URL_PATH ) , '/' ); $url = explode( '/' , $url ); if(count($url) == 1) { if(file_exists(DIR_...
asked by 05.05.2017 / 23:17