I am using YouTube's iframe api to embed videos in my web app. I able to play the video on Kindle HDX devices but on HD devices Kindle Fire HD 8.9" 2nd gen & 7" 2nd gen its not playing well. The iframe gets cropped and video stutters while playing, I tried changing the hardware acceleration for web view but no luck. The video plays perfectly even on Kindle Fire SD 1st gen but not on HD devices. Is there anything I am missing? Need some help.
Hey Sujoy, Here is the java snippet that I use to initialize the YouTube embed. String url="
https://www.youtube.com/embed/DERzYnthq1s?controls=0&modestbranding=1&rel=0&showinfo=0&enablejsapi=1"; mWebView.loadUrl(url); }
Hello Sujoy, I've tested the app on Samsung GT I1903 ICS 4.0.3 and its working fine. Regarding the AmazonWebView , I tries it but no luck, I can only hear the sound with black video display. I am not able to digest why the left margin is causing this issue! Any further suggestions? Thanks,
Hi Pankaj, I have checked the above code in Kindle HDX and HD devices and they are able to play the video with out any issue. Please note that the AWV is only supported in Kindle Fire devices. Please let us know in which device are having this issue. Thanks.
Hi Sujoy, Thanks for your last code sample, I managed to run it but when I try to use the seekbar and in between that If video is paused/played, I can see some rendering issues, I am not able to attach the video here it says attachment too large, here is the link to my drive having the sample app and the video showing the issue.
https://drive.google.com/folderview?id=0B27MNfR6LNeHLVhtOGxwT2l5R1E&usp=sharing I ran this test on: Kindle Fire 2nd gen 7" HD (amazon-kftt-D025A0A025060EWK) Android 4.0.3 API 15 Thanks,