Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1059

    I have mainpage column 2 defined as HTML in the Mainpage Options panel. I went to edit the main page template within wordpress and added a youtube embed code for placeholder 2. The youtube video displays within ie, chrome, and firefox, but its not displaying as a youtube video on my iPhone which it normally always does. It also leads me to believe that it wont show up in safari either. Has anyone else experienced this? Here is the code:

    $placeholder_image1 = get_bloginfo(‘template_url’).’/files/medium1.jpg’;

    #$placeholder_image2 = get_bloginfo(‘template_url’).’/files/medium1.jpg’;

    #$placeholder_image3 = get_bloginfo(‘template_url’).’/files/medium1.jpg’;

    $placeholder_image1 = kriesi_build_image(array(‘url’=>$placeholder_image1,’height’=>’124′,’width’=>’280′));

    #$placeholder_image2 = kriesi_build_image(array(‘url’=>$placeholder_image2,’height’=>’124′,’width’=>’280′));

    #$placeholder_image3 = kriesi_build_image(array(‘url’=>$placeholder_image3,’height’=>’124′,’width’=>’280′));

    $placeholder[1] = $placeholder_image1.’DUMMY TEXT’;

    $placeholder[2] = ‘<h3>Fuel Doctor Commercial</h3><object width=”280″ height=”235″><param name=”movie” value=”http://www.youtube-nocookie.com/v/_KENCIX_nck?fs=1&hl=en_US&rel=0″></param><param name=”allowFullScreen” value=”true”></param><param name=”allowscriptaccess” value=”always”></param><embed src=”http://www.youtube-nocookie.com/v/_KENCIX_nck?fs=1&hl=en_US&rel=0″ type=”application/x-shockwave-flash” allowscriptaccess=”always” allowfullscreen=”true” width=”280″ height=”235″></embed></object>’;

    $placeholder[3] = $placeholder_image1.’DUMMY TEXT’;

    //call class

    $boxes = new kclass_display_box(‘mainpage’,’mainpage_column’,’Mainpage Column’, $placeholder);

    $boxes-> prev_image(array(‘height’=>’124′,’width’=>’280′));

    $boxes-> display();

    ?>

    #33798

    btw, my temp site is:

    dev DOT fueldoctorusa DOT com

    #33799

    Your website is displayed without problems in Safari (Windows Version). I can’t help you with Iphone because I don’t have one to test your website. Try to open the youtube videos with prettyphoto – maybe the work on the iphone afterwards.

    The Dude

    #33800

    Hey,

    The site loads just fine in Safari on Mac. It doesn’t load the YouTube videos on the iPhone because they are flash and Apple won’t allow this.

    James

    #33801

    Thanks for the feedback.

    If you check out our current site fueldoctorusa dot com you will see the youtube video displayed as an icon to click and view through the native iphone app. Also, youtube is now supporitng in browser viewing so i dont understand why it wouldnt appear…

    i added a flikr gallery on the left most side and it too doesnt display…does the flikr gallery appear ok on safari?

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘mainpage 3 column content with youtube embed’ is closed to new replies.