Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

LongTail Ads in < embed >

27 replies [Last post]

Hi.

I have longtail player on ...Hi.

I have longtail player on my site and I am currently using the ltas plugin.
Im also using the viral plugin so that users can use the < embed > code to embed the vids on their websites.

But, I found out, that if they use the < embed > , the longtail ads do not work anymore.

Is there a way to get around this ?

thanks

Lucky,

You need to include the <object> tag around the <embed> for maximum browser compatibility.

Youtube does the same thing when you embed their videos (example below).

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ufIISUVDkj0&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ufIISUVDkj0&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

Best,

Darjan

You need to include the <object> tag around the <embed> for maximum browser compatibility.

Youtube does the same thing when you embed their videos (example below).

<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/ufIISUVDkj0&hl=en&fs=1&"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/ufIISUVDkj0&hl=en&fs=1&" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></embed></object>

Best,

I didnt get this.

Can you provide an example, with the ltas plugin, using the < embed > and < object > ?

thanks

There are examples in the Dashboard under Setup > Implement Code.

Make sure that you select object/embed code to get the proper instructions.

I know that.. but for the ads to show,

<script language="JavaScript" src="http://www.ltassrv.com/serve/api5.4.asp?d=43996&s=20147&c=15623&v=1"></script>

must be in the code.

which is not included in the < embed > code

anyone ?

Lucky,

The API script tag should be placed at the bottom of your page.

See this example: https://dashboard.longtailvideo.com/tutorial/JW4.0/jw4.0-embed-step-3.gif

Best,

Darjan

Darjan, I think he is asking if its possible to display the ads when the javascript is not on the page, IE embed on another page where you don't have control to put the javascript.

I would like to know if this is possible as well

Randy,

In about a weeks time we will release an update to our AdSolution which will not require the JS tag present on your page in order to serve ads.

Best,

Darjan

Darjan,

I did exactly as you said above in blogger blog. pasted the script code before the </body> tag and chose "objec/embed" option for the video. video plays but no post-roll ads. help please

You can not paste Javascript on a blogger website, which is why it is not working because our AdSolution requires the API Script tag at the bottom of the page.

Has the adsolutions been updated yet to not rquire the JS tag?

Thanks

Not yet but hopefully this will be completed within 2 weeks.

Hi this is a very important skill for embedding our videos and ads on other sites like facebook. I think you sholud add this feature as soon as possible.

@baris - the adsolution no longer requires the JS script tag!

thanks for your quick response ethan.
could you check this link's source code and say what is wrong?
It is not showing ads.

i beg your pardon link is http://www.trtube.com/fb.html

Hi Baris,

Make:

<embed src="http://www.trtube.com/player.swf" flashvars="playlistfile=http://www.trtube.com/playlist.php?v=100373&skin=http://www.trimg.com/beelden.zip&plugins=ltas&channel=xmblrkcsgghilcs" width="420" height="280" type="application/x-shockwave-flash" />

Look like:

<embed src="http://www.trtube.com/player.swf" flashvars="playlistfile=http://www.trtube.com/playlist.php?v=100373&skin=http://www.trimg.com/beelden.zip&plugins=ltas&channel=xmblrkcsgghilcs" width="420" height="280" type="application/x-shockwave-flash" id="player" name="player" />

Let me know if that works.

If it does not, you may need to add object tags as well.

Best,
-Ethan

it didin't work ethan but i noticed that it gets an error from www.ltassrv.com server when i noticed firebug(firefox addon)
"Channel not identified,Rejected,Disabled or Inactive"

and also an error from xmlconfig.ltassrv.com.s3.amazonaws.com

<?xml version="1.0" encoding="UTF-8"?>
<Error>AccessDenied<Message>Access Denied</Message><RequestId>2A7145E6C922ABF5</RequestId><HostId>8dWmZUp9lDAmr7fdaLVxJvo4CKws//MYLh0NNwSEq83F4nWRVOR4Ao9fvoz55HZ8</HostId></Error>

You are going to need to update your code for object and embed code, like this:

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200">
<param name="movie" value="player.swf" />
<param name="allowfullscreen" value="true" />

<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=video.flv&image=preview.jpg" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="player.swf"
width="328"
height="200"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=video.flv&image=preview.jpg"
/>
</object>

ethan i appreciated for your interest but it is still not working.
i think there must be an error in server communications

Can you update the link to reflect the object/embed code?

http://www.trtube.com/fb.html is still showing the embed code only.

Thanks,
-Ethan

Hi,

Scratch that, you just have one update to make.

Make - channel=xmblrkcsgghilcs, look like ltas.cc=xmblrkcsgghilcs

It should work now.

Best,
-Ethan

of course
here is the code:
<!--<embed src="http://www.trtube.com/player.swf" flashvars="playlistfile=http://www.trtube.com/playlist.php?v=100373&amp;skin=http://www.trimg.com/beelden.zip&amp;plugins=ltas&amp;channel=xmblrkcsgghilcs" width="420" height="280" type="application/x-shockwave-flash"/>-->

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="328" height="200">
<param name="movie" value="http://www.trtube.com/player.swf" />
<param name="allowfullscreen" value="true" />

<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="playlistfile=http://www.trtube.com/playlist.php?v=100373&skin=http://www.trimg.com/beelden.zip&plugins=ltas&channel=xmblrkcsgghilcs"/>
<embed type="application/x-shockwave-flash" id="player2" name="player2" src="http://www.trtube.com/player.swf" width="328" height="200" allowscriptaccess="always" allowfullscreen="true" flashvars="playlistfile=http://www.trtube.com/playlist.php?v=100373&skin=http://www.trimg.com/beelden.zip&plugins=ltas&channel=xmblrkcsgghilcs"
/>

embed code commented

there is an 403 forbidden error while this request:
http://xmlconfig.ltassrv.com.s3.amazonaws.com/xmblrkcsgghilcs.xml

Make - channel=xmblrkcsgghilcs, look like ltas.cc=xmblrkcsgghilcs

Below is the code I have changed on our embed code but I cant get our advert show either can some one take a look and give me some help with this? Thanks

<object><embed src="http://www.renderyard.com/flvplayer.swf" width="420" height="337" bgcolor="#ffffff" allowscriptaccess="always" allowfullscreen="true" flashvars="file=http://www.renderyard.com/uploads/VAU4gEEl4rlV.flv&image=http://www.renderyard.com/uploads/thumbs/&logo=http://www.renderyard.com/image_s/playerlogo.png&skin=http://www.renderyard.com/Snel.swf&autostart=true&fullscreen=true&stretching=fill&plugins=ltas,gapro-1&ltas.cc=uryvkfpcpopilrb&gapro.accountid=UA-4840185-1" id="player" name="player"></embed><object>