Results 1 to 2 of 2

Thread: YouTube video embeds with iframe causing issues

  1. #1

    Default YouTube video embeds with iframe causing issues

    I have a problem with displaying embedded YouTube videos in my app. I retrieve news articles from a website and display the content in the app and some times this may include YouTube videos.

    It displays the retrieved article fine and shows the YouTube embed but you cannot tap the play button. It seems you have to 'activate' the iframe by tapping inside it to be able to press the play button which means when you then try to scroll the rest of the article it will only seem to scroll the iframe. You then have to tap outside the iframe to scroll the rest of the article.

    Any ideas on what the best way to fix this would be?

  2. #2
    Sencha User
    Join Date
    Jul 2012
    Posts
    71
    Answers
    2

    Default

    There are plenty on github, take a look at this one for example:

    https://gist.github.com/alexkravets/5416594

    :-)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •