Questions tagged [autoplay]

For questions about using autoplay features in a programmatic context. NOTE: If your question is about Windows AutoPlay, also include the [windows] tag. If your question is about AutoPlay in a web browser, add a browser tag and possibly other tags relating to the web technologies you are using.

729 questions
12
votes
5 answers

Muted autoplay videos stop playing in Safari 11.0

I have these videos on my site with attributes listed below: Everything worked just fine until I’ve installed…
Andrey
  • 123
  • 1
  • 1
  • 4
12
votes
10 answers

Autoplay an audio with HTML5 embed tag while the player is invisible

I want to autoplay a MP3 audio file and I don't want the player to be visible.
When I added display:none to the audio tag using css, it doesn't play the music at…
Nima
  • 191
  • 2
  • 3
  • 17
11
votes
1 answer

how to autoplay youtube embedded video in react native?

I am trying to autoplay the youtube embedded video in my react native app. here is my code, render() { const { data } = this.props; const { loading } = this.state; return (
khalifathul
  • 558
  • 1
  • 10
  • 24
10
votes
2 answers

Is there an event to detect when user interacted with a page?

I'm trying to autoplay a video as soon as the user interacted with the page. If I play the video before, I obviously get a security error : Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document…
Jscti
  • 14,096
  • 4
  • 62
  • 87
9
votes
8 answers

Ionic 4 Slider autoplay

I want to slide automatically the ionic slider but its not working. slider contains images also. data is got from API call.
9
votes
1 answer

Firefox loads and plays same .ogv file twice concurrently when with 'autoplay'

I have an ogg vorbis file set up with the HTML5
tomek
  • 758
  • 1
  • 8
  • 12
9
votes
2 answers

Autoplay youtube videos in android

I am trying to autoplay youtube videos on android, the same thing as in How can I autoplay a video using the new embed code style for Youtube? The following HTML works in google chrome browser, but not in the browser in android emulator.
Kumar
  • 267
  • 5
  • 13
9
votes
4 answers

Embedded youtube video with "autoplay=1". Does it count towards views?

I can cause an embed youtube video to begin playing automatically using "autoplay=1" When a user views the embedded video does it count towards my views count? I have attempted to test but had inconclusive results. Viewed embedded videos to not…
Alex K
  • 487
  • 1
  • 5
  • 6
8
votes
3 answers

Automotive Intel x86 Atom System Image not found SDK Manager

I am trying to start Automotive emulator reading this article https://developer.android.com/training/cars/testing To install the generic system image: In Android Studio, select Tools > SDK Manager. Click the SDK Platforms tab. Click Show Package…
8
votes
1 answer

How can YouTube and Twitch override the autoplay policy for videos with audio?

I know that Google Chrome has an autoplay policy where videos with audio cannot be autoplayed. How come websites like YouTube and Twich are able to bypass this? How can they autoplay videos with audio?
Poxen
  • 85
  • 5
8
votes
0 answers

How to prevent google ads from auto play sound?

I added Google ads to my website, every few minutes it starts playing a video ad and that would be OK, only the sound is not OK, is there a way to turn off the sound for these ads - server side?
Yovav
  • 2,557
  • 2
  • 32
  • 53
8
votes
4 answers

Very Simple Image Slider/Slideshow with left and right button. No autoplay

I'm trying to make a very, very simple image slider/slideshow with no autoplay please. I only want to go to next or prev image on click. Having some issues as you can read below. Here's the jsFiddle http://jsfiddle.net/HsEne/12/ (i just used…
bob
  • 859
  • 1
  • 8
  • 16
7
votes
2 answers

HTML5 Video autoplay with sound unmuted

I need to implement a local autoplay video on my website. Still, I knew that newer browsers, i.e., Chrome, Mozilla, and Safari, have blocked autoplay when the video has no 'muted' attribute. So, Is there any way to autoplay the video unmuted(with…
Kaka
  • 109
  • 1
  • 1
  • 4
7
votes
1 answer

browser autoplay policy. How does autoplay work in Netflix?

I've developed an application like netflix which streams video. I'm working with video.js. when I try to play unmuted video, it throw error says that "Uncaught (in promise) DOMException: play() failed because the user didn't interact with the…
7
votes
2 answers

How to disable autoplay for YouTube video in WKWebView?

I have simple ViewController with WKWebView configured as follows: webView.configuration.allowsInlineMediaPlayback = true webView.configuration.mediaTypesRequiringUserActionForPlayback = .video But right after loading a web page with YouTube video…
a-a-m
  • 96
  • 1
  • 5
1
2
3
48 49