Home>
Problem i am experiencing
The video tag is used to set up a video that is played once when the page is opened.
When loading takes a long time, the head of the video will be cut and played.
<video autoplay muted playsinline poster = "-poster.png"><source src = "movie.mp4"></video>
I want the video to start after the loading screen is over.
Is it possible to play a video after judging that loading is complete or the loading page is finished?
Because I use a plug-in, I couldn't understand the details.
I tried "Best Preloader", "BH Custom Preloader", "Preloader", "WP Smart Preloader", but the same phenomenon occurred in all cases.
I checked it with something that can be set without setting the background (loading icon only), but it seemed that the video had begun while the icon was spinning.
Is it better to set it yourself without using plug-ins?
-
Answer # 1
Related articles
- javascript - i want to control the playback of the video tag in the vuejs component with the mouse wheel
- javascript - i want to control the display/non-display of content using jquery
- [javascript] about source control
- javascript - [slick] i want to control multiple slides with one dot
- unable to control javascript continuous input
- i want to control css animation with javascript 2
- i want to control css animation with javascript
- javascript - i want to control submit while taking advantage of
- javascript - convert curl to gas (control of lights with nature remo api)
- javascript - i want to adjust the timing of fading in text depending on the scroll position
- how to control the probability of randam with p5js (javascript)
- javascript - i want to control the execution order of windowlocationhref
- javascript - server control: about radio button list
- javascript - i want to execute wkhtmltopdf and change the timing when pdf is created
Related questions
- javascript : I want to play video by specifying an Angular expression with YouTube video ID set in the Frame tag
- How to edit javascript right on the site?
- javascript : How to calculate the number of rows in the Table HTML object and write it in the last line?
- javascript : How to Alternate Key In Div Elements in JQuery
- javascript : Request dates of birth and output of the number of days
- javascript : How when you press a real keyboard to do so that the virtual react?
- javascript : EVERNOTE API ConsumerKey, not to prevent consumerSecret
- javascript : how to highlight only the button on which I clicked
- javascript : Why does the AJAX POST query not working?
Play
video
element from script (callHTMLVideoElement.play
method) if "loading complete or loading page end" can be detected with JavaScript ).Therefore, the problem is how the "loading process/loading page" is implemented.