Reputation: 75
As you could make a Youtube video it will automatically run ?
I used autoplay = 1 and does not work
The video is for Android app
The code from the video is:
<div class="demo-wrapper" data-role="page" id="tutoPage" style="margin-top: 0px;">
<div class="header" data-role="header">
<span class="title">Tutorial</span>
</div>
<div class="content" data-role="content">
<iframe id="bgvid" src="https://www.youtube.com/embed/*****?rel=0&autoplay=1" ></iframe>
<div id="tutorial" >
<a id='tuto' href='#initPage' >continuar</a>
</div>
</div>
</div>
Upvotes: 0
Views: 1951
Reputation: 236
Replace the ;
before autoplay=1
with &
.
EDIT: autoplay doesn't work on webviews. You have to use youtube api to achieve that.
Upvotes: 1
Reputation: 2737
Use the url like this:
https://www.youtube.com/embed/*******?rel=0&autoplay=1
Upvotes: 0