React-native-youtube: iOS Blank/Black Screen - How do I add YTPlayerView-iframe-player.html from Assets to my xcode project?

Created on 8 Oct 2016  路  3Comments  路  Source: davidohayon669/react-native-youtube

All I get is a blank black screen, so I'm guessing it's because I didn't drag n drop the iframe html into the correct xcode location.

How do I add YTPlayerView-iframe-player.html from Assets to my xcode project?

Sorry, as a brand new developer, this is not entirely clear to me. Did rnmp do this for me? Or do I need to manually do this after running rnmp command? And if manually, how?

Just drag and drop? And if so, where? In the root dir of xcode proj? Or in one of the sub-dirs? Do I need to create references? And if so, how?

I am running RN 0.32.0

Most helpful comment

Follow these steps (WatchNext is my project name) :

capture d ecran 2016-10-08 a 19 06 42 - copie

capture d ecran 2016-10-08 a 19 06 58

capture d ecran 2016-10-08 a 19 07 29

All 3 comments

Follow these steps (WatchNext is my project name) :

capture d ecran 2016-10-08 a 19 06 42 - copie

capture d ecran 2016-10-08 a 19 06 58

capture d ecran 2016-10-08 a 19 07 29

Thank you @CharlesMcD ... it worked perfectly and beautifully after I followed your tutorial, and what's even better, is that the whole component re-renders whenever I dynamically pass it a new youtube id, so no extra voodoo needed to refresh the YouTube component, woohoo!

Thanks @CharlesMcD . You saved my time

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dozel picture dozel  路  5Comments

johnnykoo84 picture johnnykoo84  路  4Comments

webdevbyjoss picture webdevbyjoss  路  4Comments

serialbandicoot picture serialbandicoot  路  4Comments

berdof picture berdof  路  4Comments