brandly / brandly/angular-youtube-embed

Inline video and autoplay on iOS10

Open
#154 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
HTML
Stars
505
Forks
145
PR merge metrics
No merged PRs in 30d

Description

Is it possible to embed the videos as inline for phones with iOS10?

Also would be it possible to autoplay the video after the user clicked on somewhere on screen? I've used this technique with vanilla html5 video. When the user first loads the site there is BEGIN button which plays a blank video, after that point i change the video src attribute at anytime so the video autoplays e.g.

```

function begin(){
var vid = document.querySelector('video');
vid.play();
//autoplay video 2 secs after begin click
setTimeout(function(){
vid.src = 'someothervid.mp4';
vid.play();
},2000);
}

Begin
```

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file, test, or project entry point is named. Start by locating the Angular YouTube player integration and checking the requested iOS 10 inline-playback and post-gesture autoplay behavior; done means both behaviors work in the supported scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.