Dynadot โ€” .com Registration $8.99

Embed code problem.

Spaceship Spaceship
Watch

teclance

Established Member
Impact
1
Hi guys,

I am in the process of launching a music video search engine and have run into a glitch.

The site is www.searchmusicvideo.com

And for an example visit:
http://searchmusicvideo.com/video/robot_rock

If you scroll down you will see that you can grab a code so that you can display the video on your site, blog etc...

The problem is if you look at the code you grab there is a <!-- and at the end of the code -->

The user has to remove this before the video will work. I tried the script without the these snippets but for what ever reason the video won't work.

Here is what the code looks like:
Code:
<textarea cols=36 rows=5 wrap="VIRTUAL">
<!--  <div align="center"><div align="center"><embed allowScriptAccess="never" name="RAOCXplayer" src="<?=$videocode?>" type="application/x-mplayer2" width="300" height="300" showcontrols="1" showpositioncontrols="0" showaudiocontrols="1" showtracker="1" showdisplay="0" showstatusbar="1" autosize="0" showgotobar="0" showcaptioning="0" autostart="1" autorewind="0" animationatstart="0" transparentatstart="0" allowscan="1" enablecontextmenu="1" clicktoplay="0" invokeurls="1" defaultframe="datawindow" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"></embed></div><a href="<?=$site_url?>">Video Code Proudly provided by <?=$site_name?></a></div> -->
</textarea>

I am completly baffled why it won't work either way as it generates the same code for the user end. Does any one know why this would happen and do you know of an alternate way to fix this?

thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
eh... it might be because it doesnt want the textarea to think its valid html and put it in as html. since it has comment tags around it, whatever is written should be displayed. not sure tho.
 
0
•••
ya, it is weird because no matter what the code ends up being the same when it is posted on the users site with the exception of course of the snippets.
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back