New User with HTML copy and paste Question

General issues about Moyea Web Player and the related flash video converters

New User with HTML copy and paste Question

Postby Andy Ryan on Sun Aug 16, 2009 11:54 pm

Just downloaded the Moyea web player, very nice!

I followed the set up and added / edited videos to the player.

Published the video gallery with playlist on PC, tested the videos, works great.

Here is my question. I copied / paste the generated embed code into a fresh html doc, Using CS3 DW.

I did not edit / change / modify the generated code.

When previewed (F1) the player is not visible in the browser, only the “Player will show here” is visible.

Should I define where the videos reside? If so, where do I do this and how do I do this?

Hope I can understand the answer, I really need a tool like this that actually works.

This is the copy / paste code that was generated, this is exactly what I used.


<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">Player will show here</div>
<script type="text/javascript">
var so = new SWFObject('mwplayer.swf','player','500','450','9');
so.addParam('wmode','opaque');
so.addParam('quality','high');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.write("flashcontent");
</script>

Any Help???? If any one has the answer just edit the code and point me in the right direction.
Andy Ryan
 
Posts: 2
Joined: Sun Aug 16, 2009 11:47 pm

Re: New User with HTML copy and paste Question

Postby Cdespain on Mon Aug 17, 2009 2:05 am

I have all the same questions :)
Cdespain
 
Posts: 1
Joined: Mon Aug 17, 2009 2:05 am

Re: New User with HTML copy and paste Question

Postby admin on Mon Aug 17, 2009 10:27 am

To solve you problem, you need to add relative or absolute paths to point to the generated swfobject.js and mwplayer.swf files

For example:

<script type="text/javascript" src="http://www.yourdomain.com/players/swfobject.js"></script>
<div id="flashcontent">Player will show here</div>
<script type="text/javascript">
var so = new SWFObject('http://www.yourdomain.com/players/mwplayer.swf','player','450','400','9');
so.addParam('wmode','opaque');
so.addParam('quality','high');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.write("flashcontent");
</script>
admin
Site Admin
 
Posts: 4
Joined: Tue Oct 07, 2008 7:35 am

Re: New User with HTML copy and paste Question

Postby Andy Ryan on Mon Aug 17, 2009 3:30 pm

Yes, that was what I was thinking, I applied the suggestion using the relative path, works perfect.

Another question?

I understand to remove the water mark, I can, purchase the product or place a link for the player on my site, very simple to understand
and acceptable.

Ok, here is the question....... when the player first appears, on the right side of the player there are 2 copy code button links, 1) Embed, 2)URL. When the video starts these 2 copy code button links disappear. Is this NORMAL? I would NOT like the 2 copy code button links to appear. Can any one advise me here.

I found the answer in Options / user defined area............

Thank You
Andy Ryan
 
Posts: 2
Joined: Sun Aug 16, 2009 11:47 pm

Re: New User with HTML copy and paste Question

Postby admin on Tue Aug 18, 2009 9:06 am

Andy Ryan
It's good to know you have solve your second problem by yourself!

You guys who don't know how to remove the "embed & URL" area can also refer to the doc.: http://www.playerdiy.com/configuration/ ... -area.html
admin
Site Admin
 
Posts: 4
Joined: Tue Oct 07, 2008 7:35 am

Re: New User with HTML copy and paste Question

Postby FullDraw on Fri Aug 21, 2009 7:51 pm

admin wrote:To solve you problem, you need to add relative or absolute paths to point to the generated swfobject.js and mwplayer.swf files

For example:

<script type="text/javascript" src="http://www.yourdomain.com/players/swfobject.js"></script>
<div id="flashcontent">Player will show here</div>
<script type="text/javascript">
var so = new SWFObject('http://www.yourdomain.com/players/mwplayer.swf','player','450','400','9');
so.addParam('wmode','opaque');
so.addParam('quality','high');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.write("flashcontent");
</script>


This solution also fixed mine. This is a pretty critical point I'm sure a lot of people miss. You should add it to your tutorials.
FullDraw
 
Posts: 1
Joined: Fri Aug 21, 2009 7:49 pm

Re: New User with HTML copy and paste Question

Postby leakeymore on Wed Aug 26, 2009 8:25 am

Hi FullDraw,

We have listed this in our FAQs, please refer to the FAQ 1 at http://www.playerdiy.com/support/faq/.
And also the tutorial at http://www.playerdiy.com/support/tutori ... layer.html.

Regards,
leakeymore
 
Posts: 247
Joined: Tue Jul 14, 2009 2:12 am

Re: New User with HTML copy and paste Question

Postby pop on Wed Sep 02, 2009 3:25 pm

<script type="text/javascript" src="http://www.yourdomain.com/players/swfobject.js"></script>
<div id="flashcontent">Player will show here</div>
<script type="text/javascript">
var so = new SWFObject('http://www.yourdomain.com/players/mwplayer.swf','player','450','400','9');


When I am testing this out by running in visual studio, what should I use for the "www.yourdomain.com" value?

Thanks - Pop
pop
 
Posts: 2
Joined: Wed Sep 02, 2009 3:20 pm

Re: New User with HTML copy and paste Question

Postby leakeymore on Thu Sep 03, 2009 2:10 am

The "www.yourdomain.com" is the domain that you want to use the player such as www.playerdiy.com.
Regards,
leakeymore
 
Posts: 247
Joined: Tue Jul 14, 2009 2:12 am

Re: New User with HTML copy and paste Question

Postby pop on Thu Sep 03, 2009 3:33 pm

Thanks for the reply, leakymore.

The issue is that in the development environment, I have no domain set up at all.
When I deploy, I will, but I do not want to break the existing site while investigating new technology.
The good news is that I do not really need one. This is what I put in my default.aspx:

<script type="text/javascript" src="swfobject.js"></script>
<div align="center" class="style3" id="flashcontent"></div>
<script type="text/javascript">
var so = new SWFObject('mwplayer.swf','player','500','450','9');
...
</script>

To get this to work, I copied the group of files (except the index.htmp) to the subfolder in my project tree which has the project name. From there, visual studio could resolve the swfobject.js file, and it worked as desired.
pop
 
Posts: 2
Joined: Wed Sep 02, 2009 3:20 pm

Next

Return to General Chat

Who is online

Users browsing this forum: No registered users and 2 guests

cron