I am trying play a fullscreen video in my app (iOS&Android). When users press on video I use the
Handheld.PlayFullScreenMovie method and it displays the videos perfectly. BUT, there is no back button in the player. The only way to exit player and switch back to the scene is to wait untill the video ends. How can I fix this problem? It is so obvious that users may need the back button and idk why Unity does not added it
Related
Link: Website
Problem: The video on the front page below the video banner does not render until you navigate away from the page and return back. When the video finally appears and plays, the play button does not work. Is there a way to have the video appear on first appearance and have the overlay work as expected.
I am using the latest video_player widget to play the video. Other videos I have implemented work just fine.
When I debug my flutter web application, the application pauses at videoController.play() inside initState(). I continue execution to see if there is was an exception, but nothing new shows in debug console.
One solution I found to work is by setting the volume to 0 then starting the video.
This allows the video to play, but the overlay still not functioning as expected, so I just removed it. For now it works, but still wondering on how the overlay can be implemented.
Im really new to Unity and I'm currently developing an application using EasyAR.
My scene is correctly set up and everything works fine but my goal is to create a button that when clicked freezes the camera to the last frame is shown. In other words, I wish to pause what the user is watching with his camera to be able to observe it better, almost as if he takes a picture but without saving it. Is there any way to do it?
I am developing a game using phaser js. This game has a tutorial video at the beginning which starts playing automatically when I launch a level. The video plays in iphone's native video player. While the video is playing, if I click the "Done" button that is seen on the top left corner of the video player, the video stops (which is fine) but unfortunately the background tutorial screen is frozen.
I am new to phaser and I don't know how to handle this issue. Would appreciate it if someone could guide me to resolve this issue?
I am pasting a sample link below.
https://phaser.io/examples/v2/video/change-source
This has videos that play as soon as the page is loaded. If you stop the video by tapping the Done button, you will notice that the background will be frozen.
Need to add event listener
tutorialVideo.video.addEventListener('webkitendfullscreen', (() => {
this.game.cache.removeVideo("tutorialVideo");
}), true);
Try it This Will Work
Am using html5 to play video on iphone. Is there is way to know when video player is close because i want to call function after clicking on done button. I can't use 'ended' this event occurs only after completion of video. I appreciate your suggesions.
I have a web page with several html5 tags, offering users a number of posters/thumbnails for videos they can choose to play. When a user touches one of the them the iPhone video player opens and the video plays. I want to be able to automatically close the video player after the video has finished and return the user to the thumbnails.
I have set the event listener for the "ended" event and I can detect that the video has finished, but I can't figure out how to close the video player and return to the thumbnails. It just waits for the user to touch the "done" button. Is there any way of doing this in Javascript??
jQuery -
$('video').get(0).webkitExitFullscreen();
Uncertain what iOS version this was supported. See The correct method is webkitExitFullscreen. See https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Using_full_screen_mode for full support