3 Replies Latest reply: Sep 7, 2013 6:43 AM by whyisdaddt
whyisdaddt Level 1 Level 1 (0 points)

while trying something new I took the html assett and put this code into it

<iframe width="640" height="360" src="http://www.youtube.com/embed/75p-N9YKqNo?feature=player_detailpage" frameborder="0" allowfullscreen></iframe>

but it keeps crashing, am I not using the correct html code or is it the iframe command .

 

thankyou for your time and efforts

Russell Rhoades


iMac (20-inch Mid 2007), OS X Mountain Lion (10.8.2)
  • 1. Re: video
    markmalone Level 2 Level 2 (165 points)

    Hey Russell,

     

    The code is fine but I hate to say it but I'm not able to get this to crash on a Mac running the latest OS and the current version of iAd Producer.  Could you please file a bug at bugreport.apple.com and provide as many details as possible?

     

    Cheers,

     

    -Mark

  • 2. Re: video
    patixa Level 2 Level 2 (290 points)

    First, I would carefully check the HTML snippet you pasted into your project: I've seen some posts where people inadvertently forgot a <, / or > in the surrounding HTML.

     

    Second, in trying your URL in a sample project on my setup, I see that YouTube is retuning a Flash object. This obviously won't work on iOS. If you can get the raw H.264 URL, ending in ".mp4", you are much more likely to succeed. Once you have the MP4 URL, use a Video object, open the Inspector pane, and set the Video property to the raw URL. (As an example URL, I used a clip from the owner of the one you used: http://www.kidstv123.com/video/MP4%20Phonics%20Song%20Clip.mp4)

     

    If you enable Preview > Show Web Inspector When Previewing, the console tab may show you some additional information.

     

    Also, what is crashing? iAd Producer? Safari? One of the iOS test apps? What version of iAd Producer are you running?

  • 3. Re: video
    whyisdaddt Level 1 Level 1 (0 points)

    iAd Producer is what is crashing but your answer seames to have repaired the problem , i have to atart with <a Nd then end the HTML comans as usual.

    Thank you for all your help