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

4 posts, 0 answers
  1. Servé
    Servé avatar
    2 posts
    Member since:
    Jan 2014

    Posted 10 Nov 2016 Link to this post

    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!

  2. Preslav
    Admin
    Preslav avatar
    234 posts

    Posted 10 Nov 2016 Link to this post

    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.

     
  3. Servé
    Servé avatar
    2 posts
    Member since:
    Jan 2014

    Posted 10 Nov 2016 in reply to Preslav Link to this post

    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!

  4. Arumugam
    Arumugam avatar
    1 posts
    Member since:
    Sep 2017

    Posted 13 Sep Link to this post

    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.
Back to Top