AutoPlay Video is not working on the latest iPhone Safari version 15.3 - html5-video

Video Autoplay not working on the latest safari- 15.3
On the older version of the safari, video working fine.
I used this HTML code:
<video loop="loop" autoplay="" playsinline="" muted="" width="100" height="100" id="mejs_013860265590046605_html5" preload="none" src="/wp-content/uploads/2022/02/Home-Video-1_2.mp4" style="margin: 0px; width: 1020.44px; height: 574px;">
<source type="video/mp4" src="/wp-content/uploads/2022/02/Home-Video-1_2.mp4">
<source type="video/webm" src="/wp-content/uploads/2022/04/Home-Video-1_2.webm">
</video>

Related

Buffering video

Stack:
"#ionic/vue": "^6.0.0",
"vue": "^3.2.21",
"#capacitor/cli": "3.3.4",
PROBLEM:
IOS: the video is not buffered. the user has to wait until the entire video is downloaded before playing it. the video is saved in vimeo platform.
ANDROID: this problem does not exist here
CODE:
<video controls>
<source src="https://player.vimeo.com/progressive_redirect/playback/111/rendition/1080p/file.mp4" type="video/mp4">
</video>
expected solution:
I would need to buffer this video. to start immediately after opening and loading the video part
Thanks for help.
you can use this:
<iframe src="https://player.vimeo.com/video/731378604?h=555b720291" width="640"
height="360" frameborder="0" allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen></iframe>
<p><a href="https://vimeo.com/731378604">ADIDAS FT. RICK & MORTY - X
SPEEDPORTAL</a> from <a href="https://vimeo.com/user30235767">Elise
Hagedoorn</a> on Vimeo.</p>

Is it possible to show one video at two different places?

I am working on a JS/HTML5 application that has to show the same video in two different places of the screen.
I can use any web browser I want - currently I am with Chrome.
Is it possible to display same video in two different places of the screen, or do I need to setup two different streaming sessions and take care of keeping them in sync?
Yes you can use same video src for two video players in the same page
<video width="320" height="240" controls="controls" autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
<video width="320" height="240" controls="controls" autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
For video player options below is the url
http://www.w3schools.com/tags/tag_video.asp
and you can test the example
http://www.w3schools.com/html/tryit.asp?filename=tryhtml5_video_autoplay
HTML
<!DOCTYPE html>
<html>
<body>
<video width="320" height="240" controls="controls" autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
<video width="320" height="240" controls="controls" autoplay>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
</body>
</html>
replace the html in w3schools Tryit Editor

HTML5 Video won't autoplay

My browser is Chrome. I know that to get it to autoplay, the attribute should just simply read "autoplay," but it isn't working.
<video id="example_video_1" class="video-js vjs-default-skin" controls autoplay preload="auto" width="620" height="350" data-setup="{}">
<source src="http://x.com/something.mp4" type='video/mp4' />
</video>
Most browsers require the video to be initiated by the user or muted.
Try:
<video id="example_video_1" muted="muted" class="video-js vjs-default-skin" controls autoplay preload="auto" width="620" height="350" data-setup="{}">
<source src="http://x.com/something.mp4" type='video/mp4' />
</video>

HTML5 video not playing in a bxSlider slideshow on iOS (possibly caused by fitvids.js)

When I place video into a slide on bxSlider, it plays as it should on desktop browsers, but when tested on iOS devices - iPhone and iPad, video will not play.
I've included the current html code. I have duplicated the <video> element underneath the slideshow which plays as it should on all devices.
As per the bxSlider guide on video, I have included the jquery.fitvids.js file. The issue may be to do with that plugin, as when I remove that, the video in the slide plays, however, the slideshow then does not function correctly (duplicated slide is visible and controls are missing).
Another unexpected thing to note is that when the script initialising bxSlider is placed in the head beneath the libraries, bxSlider doesn't initiate at all.
jsFiddle
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Vid test</title>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script src="jquery.fitvids.js"></script>
<script src="jquery.bxslider.js"></script>
</head>
<body>
<ul class="bxslider">
<li>
<video width="100%" height="300" id="video1" controls preload="auto">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2013/06/Becel_15s.mp4" type="video/mp4">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.webm" type="video/webm">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.ogv" type="video/ogg">
</video>
</li>
</ul>
<video width="100%" height="300" id="video1" controls preload="auto">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2013/06/Becel_15s.mp4" type="video/mp4">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.webm" type="video/webm">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.ogv" type="video/ogg">
</video>
<script>
$(".bxslider").bxSlider({
video: true,
useCSS: false
});
</script>
</body>
</html>
Wrap your second video tag in 'li' tag and take it inside of that 'ul' tag.
<ul class="bxslider">
<li>
<video width="100%" height="300" id="video1" controls preload="auto">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2013/06/Becel_15s.mp4" type="video/mp4">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.webm" type="video/webm">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.ogv" type="video/ogg">
</video>
</li>
<li>
<video width="100%" height="300" id="video1" controls preload="auto">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2013/06/Becel_15s.mp4" type="video/mp4">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.webm" type="video/webm">
<source src="http://dev.kirnauskis.com/kirnauskis/design-update01/wp-content/uploads/2012/10/Becel_15s_120822b.ogv" type="video/ogg">
</video>
</li>
</ul>

html5 video canceled

I'm trying to embed a video on my website:
<video width="320" height="240" controls="controls">
<source src="new-slideshow.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
For some reason, the video is not loading, and I can see this information when I inspect the network request:
https://dl.dropbox.com/u/2241201/locker/Screen%20Shot%202012-11-14%20at%201.49.39%20PM.png
Why is the video being canceled?