This is a migrated thread and some comments may be shown as answers.

Embedded Video (Vimeo iframe) not playing in release version of Android app build with Appbuilder

3 Answers 593 Views
Android Devices
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Servé
Top achievements
Rank 1
Servé asked on 10 Nov 2016, 07:46 AM

Using the Telerik Platform I have built an app which shows embedded videos that are hosted on Vimeo like this:

 <iframe src="https://player.vimeo.com/video/169448150" width="100%" height="200px" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

 

The app runs fine on iOS and Android simulators and the Cordova app. Even on iOS the app was already released on the app store (called Voorkeurshouding Baby). However, I have uploaded the app on Google Play (beta testing) and the videos are not showing (completely blank iFrame). I have tested this on two different Android devices both with Debug and Release versions. Using the Cordova app it works fine on Android device.

Right now I am out of options. Anyone willing to help me with this? Much appreciated!

3 Answers, 1 is accepted

Sort by
0
Preslav
Telerik team
answered on 10 Nov 2016, 03:47 PM
Hello Servé,

Based on your description, I believe that the Cordova Whitelist Plugin is not included in your project. 

To fix this, follow the solution outlined in the AJAX jQuery Request Do Not Work on Android KB article.


Regards,
Preslav
Telerik by Progress
 

Visit the Telerik Verified Plugins Marketplace and get the custom Cordova plugin you need, already tweaked to work seamlessly with AppBuilder.

 
0
Servé
Top achievements
Rank 1
answered on 10 Nov 2016, 09:11 PM

That worked like a charm. Many thanks!

I have enabled the whitelist plugin. Next I have edited the Android config.xml file which I have accessed by right-clicking on the project name in the navigator and added  the following line:

 <allow-navigation href="https://player.vimeo.com/*" />

That solved it indeed. Great support!

0
Arumugam
Top achievements
Rank 1
answered on 13 Sep 2017, 06:49 AM
I am developing an Ionic1 app. I am embedding some Vimeo videos in iframe. It works perfectly fine in Android. But in IOS it is not working.
Error : ndexSizeError (DOM Exception 1): The index is not in the allowed range
How can I play Vimeo videos in iframe ios? Please help.
Tags
Android Devices
Asked by
Servé
Top achievements
Rank 1
Answers by
Preslav
Telerik team
Servé
Top achievements
Rank 1
Arumugam
Top achievements
Rank 1
Share this question
or