Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

HTML5 videos and embeded Youtube black screen issues only on Android
Started by daljit.kumar4 Mar 11 2019 08:53 AM

1 reply to this topic
html5 videos embeded youtube video black screen on android
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

daljit.kumar4

[GLOBAL: userInfoPane.html]
daljit.kumar4
  • Observer

  • 1 posts
  • Corona SDK

I am facing an issue with the HTML5 videos and Youtube black screen issues only on Android, it is working fine when video is running on Fullscreen but has the black screen with audio playing fine when running in normal mode. This issue even persists with Youtube embed videos.

 

We have also tested it on Android mobile browser (Chrome) and it running fine but not working in native webview.

 

Using Corona SDK (ver. 2018.3326)

 

HTML 5 video: <iframe id="video-container" width="100%" height="100%" frameborder="0" src="videos/<videopage>.html" allow="" allowfullscreen></iframe>

 
Youtube embed video: <iframe id="video-container" width="100%" height="100%" frameborder="0" src="https://www.youtube.com/embed/XXXXXX?version=3&amp;enablejsapi=1&amp;html5=1" allow="accelerometer; encrypted-media; gyroscope" allowfullscreen></iframe>


[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 25,373 posts
  • Enterprise

I certainly would grab the latest daily build. There were a ton of HTML5 enhancements since 2018.3326.

 

Rob




[topic_controls]
[/topic_controls]