Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
MC player clean embed?
Old 07-11-2008, 02:26 PM MC player clean embed?
goheadtry's Avatar
Webmaster Talker

Posts: 730
Name: John
Location: United States of America, California
Trades: 0
I found a great player called mc player altair

http://www.mcmediaplayer.com/setup/tool.html

that is the setup tool suppose I want to make an embed though that is clean that users can use on their site. Right now it works with javascript

This is what I get when I javascript hack my browser.

HTML Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="320" height="240">
<param name="movie" value="http://www.mcmediaplayer.com/public/mcmp_0.5.swf"><param name="allowScriptAccess" value="always"><param name="quality" value="high"><param name="allowFullScreen" value="true"><param name="FlashVars" value="fpFileURL=http://www.technologyforever.com/vidd/1.flv&fpPreviewImageURL=http://www.mcmediaplayer.com/public/testfiles/testimage.jpg&cpBackgroundColor=048FB8&cpButtonsOpacity=80&cpHidePanel=mouseout&cpPlayBtnPosition=55x12&fpButtonOpacity=45&fpButtonSize=204x204&msgBackgroundColor=048FB8&playerSize=320x240">
<embed src="http://www.mcmediaplayer.com/public/mcmp_0.5.swf" width="320" height="240" quality="high" allowFullScreen="true" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" FlashVars="fpFileURL=http://www.technologyforever.com/vidd/1.flv&fpPreviewImageURL=http://www.mcmediaplayer.com/public/testfiles/testimage.jpg&cpBackgroundColor=048FB8&cpButtonsOpacity=80&cpHidePanel=mouseout&cpPlayBtnPosition=55x12&fpButtonOpacity=45&fpButtonSize=204x204&msgBackgroundColor=048FB8&playerSize=320x240"></embed>
</object>
So I tried this

HTML Code:
<input name="textfield" type="text" id="textfield" value="&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="320" height="240"&gt;  &lt;param name="movie" value="http://www.mcmediaplayer.com/public/mcmp_0.5.swf"&gt;&lt;param name="allowScriptAccess" value="always"&gt;&lt;param name="quality" value="high"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="FlashVars" value="fpFileURL=http://www.technologyforever.com/vidd/1.flv&amp;fpPreviewImageURL=http://www.mcmediaplayer.com/public/testfiles/testimage.jpg&amp;cpBackgroundColor=048FB8&amp;cpButtonsOpacity=80&amp;cpHidePanel=mouseout&amp;cpPlayBtnPosition=55x12&amp;fpButtonOpacity=45&amp;fpButtonSize=204x204&amp;msgBackgroundColor=048FB8&amp;playerSize=320x240"&gt;  &lt;embed src="http://www.mcmediaplayer.com/public/mcmp_0.5.swf" width="320" height="240" quality="high" allowFullScreen="true" allowscriptaccess="always" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" FlashVars="fpFileURL=http://www.technologyforever.com/vidd/1.flv&amp;fpPreviewImageURL=http://www.mcmediaplayer.com/public/testfiles/testimage.jpg&amp;cpBackgroundColor=048FB8&amp;cpButtonsOpacity=80&amp;cpHidePanel=mouseout&amp;cpPlayBtnPosition=55x12&amp;fpButtonOpacity=45&amp;fpButtonSize=204x204&amp;msgBackgroundColor=048FB8&amp;playerSize=320x240"&gt;&lt;/embed&gt;  &lt;/object&gt;" />
but how do I add the copy button to make sure the users can get the entire code? Like other sites have done?
__________________
Free $1 gift card when you signup at
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

goheadtry is offline
Reply With Quote
View Public Profile Visit goheadtry's homepage!
 
 
Register now for full access!
Old 07-11-2008, 04:15 PM Re: MC player clean embed?
goheadtry's Avatar
Webmaster Talker

Posts: 730
Name: John
Location: United States of America, California
Trades: 0
Forgot something youtube videos have a redirect in url I would also like to incorporate this.

For example:
becomes:
Which redirects to:

and the embed looks like this

Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Ww-N8yFfaGI&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/Ww-N8yFfaGI&hl=en&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>
__________________
Free $1 gift card when you signup at
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

goheadtry is offline
Reply With Quote
View Public Profile Visit goheadtry's homepage!
 
Old 07-12-2008, 05:55 PM Re: MC player clean embed?
Lashtal's Avatar
wherenomanhasgonebefore

Posts: 680
Name: Lashtal
Trades: 0
I imagine this can be done somehow with PHP

I assume you want it done as automatically as Youtube, where it's users upload a vid and get the URL's you're asking for almost immediately.

If you were just trying to put up a video and have people embed it, you could put the code in a box underneath the video for people to copy and paste, I'm sure you know that. I would do that as an alternative until I figured out how to $GET/$POST that info somehow as automatically as Youtube with PHP
__________________
Currently Reading:
Please login or register to view this content. Registration is FREE

Last edited by Lashtal; 07-13-2008 at 12:35 AM..
Lashtal is offline
Reply With Quote
View Public Profile
 
Old 07-13-2008, 12:59 AM Re: MC player clean embed?
goheadtry's Avatar
Webmaster Talker

Posts: 730
Name: John
Location: United States of America, California
Trades: 0
The videos results come from mysql. already and they are made in to a form. I just want to have a more professional embed like youtube.
__________________
Free $1 gift card when you signup at
Please login or register to view this content. Registration is FREE

Please login or register to view this content. Registration is FREE

goheadtry is offline
Reply With Quote
View Public Profile Visit goheadtry's homepage!
 
Reply     « Reply to MC player clean embed?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.62843 seconds with 12 queries