1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to embed local hosted videos ?

Discussion in 'Programming' started by xXmahriXx, Apr 28, 2012.

  1. #1
    first of all hello digital point ! this is my first post here XD

    I'd need some help in php or html
    I made a video website where the videos are hosted in the server . I made all the site , its not a downloaded script
    when i tried to put the video i had no ideea what to do
    I made before a div called "player" & i sized it 640x480 which is the size of the videos . then inside it i wrote
    <?php include ("video.avi"); ?>
    Code (markup):
    but nothing showed up . after that i tried
    </link href "video.avi">
    Code (markup):
    but still nothing . maybe because it should be .flv ?
    also if i go manually to the file it plays in browser with vlc
    can somebody tell me how to embed it or what should i do ?
    thanks :p

    EDIT : also if posible would there be a way to make only 1 page for all episodes instead one page for each ?
     
    Last edited: Apr 28, 2012
    xXmahriXx, Apr 28, 2012 IP
  2. ridsanderson

    ridsanderson Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If you want to link a video from another site to your site than you just have to embed the video for that simply open the web page where the video is press Ctrl+u than press Ctrl+f and search for iframe tag this tag is used for videos from these tags you will find your video source.
     
    ridsanderson, May 3, 2012 IP