Author Topic: Embedding Flash videos via code  (Read 5654 times)

0 Members and 1 Guest are viewing this topic.

Offline kirby

  • Newbie
  • *
  • Posts: 10
    • View Profile
Embedding Flash videos via code
« on: June 08, 2007, 10:55:37 PM »
Hi Guys.

Firstly, I am using 4images Version: 1.7.4

Adbrite have started a new advert type called "invideo" where adverts are embedded over a flash video file.

To insert this video to a webpage, this code is needed.

(example)

Code: [Select]
<!-- Begin AdBrite Video Code -->
<script src="http://files.adbrite.com/player/js/abplayerlib.js" language="javascript"></script>
<script language="javascript">
abWritePlayer(3069, 468, 400, "http://vid.adbrite.com/video/abplayer?");
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="468" height="400" id="abPlayerObj" align="middle"><param name="movie" value="http://vid.adbrite.com/video/abplayer.swf?&vid=3069&og=1" /><param name="quality" value="best" /><embed src="http://vid.adbrite.com/video/abplayer.swf?&vid=3069&og=1" quality="best" width="468" height="400" name="abPlayerObj" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></object>
</noscript>
<!-- End AdBrite Video Code -->

Is there anyway to embed these typed of videos into 4images? Obviously this is difficult because its not just a matter of uploading an swf file.

Many thanks in advance :)
« Last Edit: June 09, 2007, 01:51:23 AM by kirby »

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline kirby

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Embedding Flash videos via code
« Reply #2 on: June 08, 2007, 11:59:44 PM »
... there is a way ... like this ...
http://www.4homepages.de/forum/index.php?topic=7277.0
and
http://www.4homepages.de/forum/index.php?topic=7277.msg56938#msg56938


Hi mawenzi. Thanks for the reply, but I'm not sure that it covers what i'm trying to do. To insert an adbrite video into an html page, you normaly just paste in the code that i added above, there is not acctual "file" to upload. The file its self is hosted elsewhere in a hidden location, just the code is used

Offline mawenzi

  • 4images Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: Embedding Flash videos via code
« Reply #3 on: June 09, 2007, 12:17:52 AM »
... than try this ... like youtube videos in 4images ...
http://www.4homepages.de/forum/index.php?topic=13557.0
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline kirby

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Embedding Flash videos via code
« Reply #4 on: June 09, 2007, 12:19:30 AM »
... than try this ... like youtube videos in 4images ...
http://www.4homepages.de/forum/index.php?topic=13557.0

Thanks :) I'll give that a try.

I'll post when Ive tried it and report weather or not I got it to work for adbrite. May not reply tonight though as I will have to translate it

Offline kirby

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Embedding Flash videos via code
« Reply #5 on: June 09, 2007, 01:48:24 AM »
It's worked a treat :D I'll work on tidying it up a little and post the code on here :)
Thanks