How to share player between two views
See original GitHub issueIdea: Implement full screen with this behavior
nonFullScreenView
show video and when click on full screen icon it go to full screen by- show
FullScreenView
which is in landscape mode and continue from latest time in video - when user click back or click to exit full screen return to old
nonFullScreenView
with latest time in video
i think it will be easy somehow if player is shared between two views
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How To Stream Multiple Views To Twitch From One PC Using ...
Have you ever wanted to squad stream on Twitch, but have never been able to? Well, this easy to follow OBS tutorial will...
Read more >Displaying AVPlayer content on two views simultaneously
My goal was to create another AVPlayerLayer, and send it the same player so that both players are playing the same video at...
Read more >About YouTube ads and view metrics - Google Ads Help
Learn more about YouTube video metrics, including impressions, paid views, organic views, Interactions, Engagement, View rate, “Video played to” metrics, Earned ...
Read more >Sharing state between views with MVVM - Martin Richter
But this approach would cause there to be two separate arrays of selected players (one in each view model), and some imperative code...
Read more >Use multitasking on your iPad - Apple Support (IN)
How to use the Dock to open multiple iPad apps · If you drag the app to the left or right edge of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Answering the question of #633 I figured out that the full screen button from the default ui controller matches the parent’s dimensions only. Returning back from full screen the player falls back to the 16:9 ratio. The scaling and dimensioning seems to require some work to fix and add proper behavior, since the youtube interface also adds unnecessary padding / borders. There is however already an issue for this (#71).
i had to implement a simple class that held the current state time etc of the video and passed them back and forward. this was the best way i was able to get this working