brandly / brandly/angular-youtube-embed

iOS video going full screen on click to play. Playsinline parameter not working.

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

Description

I have been having an issue for some time and I can't seem to figure out what is going on.I am using Angular 1.5 and the npm package angular-youtube-embed.

Video Html:

```




```

My player parameters are:
```
$scope.playerVars = {
autoplay:$scope.stream.autoPlay,
playlist:$scope.stream.videoUrl,
controls:1,
fs:0,
modestbranding:1,
rel:0,
enablejsapi:1,
loop:1,
showinfo:0,
playsinline:1
};
```

The playsinline:1 parameter should disable the force fullscreen when a mobile iOS user plays the YouTube video. But this is not working. I have tried it on iPhone 5s to 8 (I believe). Anyone have any ideas? Thank you in advance.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the iOS playback behavior with the shown directive and playerVars, focusing on playsinline and the angular-youtube-embed integration. Compare the observed result with the expected inline playback and determine whether the issue belongs in the directive or requires an upstream YouTube API change.

Written by the indexing model from the issue text.

Assessment

Tech stack
angularjs
Domain
frontend
Issue type
Bug
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.