Jump to content

adbrite invideo


dingus

Recommended Posts

hey i'm working with adbrite invideo today trying to design a easy to use script to work with there interface but i'm hitting walls left right and center i managed to get the reply from the server with curl now i have something that looks like this

 


<addvideo>
   <type>success</type>
   <message><![CDATA[<script src="http://files.adbrite.com/player/js/abplayerlib.js" language="javascript"></script>
<script language="javascript">
abWritePlayer(1674937, 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=1674937&og=1" /><param name="quality" value="best" /><embed src="http://vid.adbrite.com/video/abplayer.swf?&vid=1674937&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>]]></message>
   <message>1674937</message>
</addvideo>

 

i need to extract the TYPE and the first message in to 2 different variables but once again its got me comply stuck can anyone offer some insight

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.