+ Reply to Thread
Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 24

Thread: embeding

  1. #1
    pataylo is offline Member
    Join Date
    Jun 2007
    Posts
    44

    Default embeding

    embeding does not work on my site plz tell me how to fix this

  2. #2
    olrac is offline Member
    Join Date
    May 2007
    Location
    Carson
    Posts
    96

    Default Re: embeding

    Quote Originally Posted by pataylo
    embeding does not work on my site plz tell me how to fix this

    use mine

    Find this code templates/view_video.tpl

    Code:
    <TEXTAREA  name=video_play ROWS="3" COLS="45"                         
    onclick=javascript:document.linkForm.video_play.focus();document.linkForm.video_play.select();
    readOnly><IFRAME vspace="0" hspace="0" allowtransparency="true" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border:0px;" width="435" height="470" SRC="{$baseurl}/show.php?id={$vinfo[0].VID}"></IFRAME></TEXTAREA>
    Replace
    Code:
    <INPUT NAME="video_play" value='<object width="425" height="350" type="application/x-shockwave-flash" data="{$baseurl}/player/player.swf"><param name="movie" value="{$baseurl}/player/player.swf" /><param name="flashvars" value="&file={$baseurl}/flvideo/{$vinfo[0].flvdoname}&height=350&image={$baseurl}/thumb/{$vinfo[0].VID}.jpg&width=425&location={$baseurl}/player/player.swf&logo={$baseurl}/templates/images/watermark.gif&link={$baseurl}&linktarget=_blank"/></object>' size="51" onclick=javascript:document.linkForm.video_play.focus();document.linkForm.video_play.select(); readOnly>
    Lying like Stealing

  3. #3
    brenea is offline Junior Member
    Join Date
    Jul 2007
    Posts
    28

    Default embed feature fix

    Thanks for that code olrac worked like a charm. I was wondering how are people able to link back to your website from the video??? besides my watermark that isn't anything but a symbol no one would know where it came from.

  4. #4
    zeffer is offline Senior Member
    Join Date
    May 2007
    Posts
    696

    Default

    Have a look through other posts. i did one a few weeks ago that shows how to do a hard link.

  5. #5
    zvidzdotnet is offline Junior Member
    Join Date
    Aug 2007
    Location
    USA
    Posts
    6

    Default re: embedding

    As you probably already know, myspace blocked the use of IFRAMES so I changed the

    view_video.tpl as recommended in the forums and now it shows the embed code as

    an OBJECT embed instead of IFRAME, however, eventhough it will now embed on myspace

    the video does not play. I have noticed part of the reason may be is that after conversion the

    video .flv files are renamed to a long file name ex. 118624363430688665.flv yet the embed code

    is searching for a .flv file named 46.flv so it seems that the script renames the .flv files but the

    embedding code does not have the proper info to load the video. Is this something I need to fix

    in the code that I inserted into the view_video.tpl file?

  6. #6
    spun2u is offline Senior Member
    Join Date
    Jun 2007
    Posts
    175

    Default Re: embeding

    Quote Originally Posted by olrac
    Quote Originally Posted by pataylo
    embeding does not work on my site plz tell me how to fix this

    use mine

    Find this code templates/view_video.tpl

    Code:
    <TEXTAREA  name=video_play ROWS="3" COLS="45"                         
    onclick=javascript:document.linkForm.video_play.focus();document.linkForm.video_play.select();
    readOnly><IFRAME vspace="0" hspace="0" allowtransparency="true" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="border:0px;" width="435" height="470" SRC="{$baseurl}/show.php?id={$vinfo[0].VID}"></IFRAME></TEXTAREA>
    Replace
    Code:
    <INPUT NAME="video_play" value='<object width="425" height="350" type="application/x-shockwave-flash" data="{$baseurl}/player/player.swf"><param name="movie" value="{$baseurl}/player/player.swf" /><param name="flashvars" value="&file={$baseurl}/flvideo/{$vinfo[0].VID}.flv&height=350&image={$baseurl}/thumb/{$vinfo[0].VID}.jpg&width=425&location={$baseurl}/player/player.swf&logo={$baseurl}/templates/images/watermark.gif&link={$baseurl}&linktarget=_blank"/></object>' size="51" onclick=javascript:document.linkForm.video_play.focus();document.linkForm.video_play.select(); readOnly>
    Wondering why this embed isn't working for me? It shows the correct image but when you click to play it never loads.

  7. #7
    spun2u is offline Senior Member
    Join Date
    Jun 2007
    Posts
    175

    Default

    @zvidzdotnet

    I just noticed that the script names new flv files differently now. I think your right, may be admin can let us know what the new variable needs to be in the embed code.

  8. #8
    galnet is offline Senior Member
    Join Date
    Jun 2007
    Posts
    210

    Default

    The new embed code is below:

    <textarea name="video_play" cols="45" rows="5" readonly="readOnly" onClick="javascript:document.linkForm.video_play.f ocus();document.linkForm.video_play.select();"><ob ject width="425" height="350" type="application/x-shockwave-flash" data="{$baseurl}/player/player.swf"><param name="movie" value="{$baseurl}/player/player.swf" /><param name="flashvars" value="&file={$baseurl}/flvideo/{$vinfo[0].flvdoname}&height=350&image={$baseurl}/thumb/{$vinfo[0].VID}.jpg&width=425&location={$baseurl}/player/player.swf&logo={$baseurl}/templates/images/watermark.gif&link={$baseurl}&linktarget=_blank"/></object>
    </textarea>
    The new part is the
    {$vinfo[0].flvdoname}
    Regards,
    Mat.
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

  9. #9
    spun2u is offline Senior Member
    Join Date
    Jun 2007
    Posts
    175

    Default

    Thanks that did it!!

  10. #10
    galnet is offline Senior Member
    Join Date
    Jun 2007
    Posts
    210

    Default

    No probs mate!
    ------------------------------------
    Make an arse of yourself:
    http://www.youtwatonline.com
    ------------------------------------

+ Reply to Thread
Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. valid xhtml and embeding video
    By mevaser in forum General Discussions
    Replies: 1
    Last Post: 08-05-2008, 06:51 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts