Embedding Video for Iphone

Discussion in 'HTML & Website Design' started by martinvidic, Aug 6, 2010.

  1. #1
    Hi

    I'm trying to embed a video on a mobile page and this is the code I came up with:

    <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="300" height="225" >
       <param name="href" value="http://www.flashmavi.com/video/med_mp4/a.mp4" />
       <param name="controller" value="true" />
       <param name="autoplay" value="true" />
       <param name="target" value="myself" />
    </object>
    Code (markup):
    Plus, I formated the video in mp4 for iPhone.

    The problem is that when i go to this page, i see a quicktime thing. I basically have to click on that and then, and then iOSX quicktime opens and play the video.

    Does anybody know how i can play the video on the same page where I have the embed code.

    Thanx
    Martin
     
    martinvidic, Aug 6, 2010 IP
  2. loveson1

    loveson1 Member

    Messages:
    211
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #2
    Nice Work man.I used this coding in my website
     
    loveson1, Aug 7, 2010 IP
  3. martinvidic

    martinvidic Guest

    Messages:
    182
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Do your videos play on the same page where you have your code? Or does you phone open qicktime and play the movie apart. Because on my site that's the case. I was thinking, maybe it's because I format the videos as mp4 for iphone and not m4v... Possible?
     
    martinvidic, Aug 7, 2010 IP
  4. yaseen4u

    yaseen4u Peon

    Messages:
    461
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i think they are several plugin for this. search in google may be get easily.
     
    yaseen4u, Aug 7, 2010 IP