We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

FLV Media Player 4.5

Development and Programming

Deron Sizemore's avatar
Deron Sizemore
1,033 posts
16 years ago
Deron Sizemore's avatar Deron Sizemore

Thank you John!

One question: When you say “these are thumbs you pick in YouTube.” Who picks them? The user when they upload a video to YouTube? I don’t think I’ve ever seen that option when I upload videos there, so I’m a little confused. Is there a way to make 0.jpg larger or is it a set width and height and cannot be changed? Thanks!

       
John Henry Donovan's avatar
John Henry Donovan
12,339 posts
16 years ago
John Henry Donovan's avatar John Henry Donovan
Who picks them? The user when they upload a video to YouTube?

Yes the user has the option of picking thumbnails, see attached screenshot from the Edit page of a video upload

Is there a way to make 0.jpg larger or is it a set width and height and cannot be changed?

That is a set width and height as far as I know (320px X 240px) images 1, 2 & 3 are 130px x 97px

EDIT : default.jpg is also available

       
Deron Sizemore's avatar
Deron Sizemore
1,033 posts
16 years ago
Deron Sizemore's avatar Deron Sizemore

Ah, I got ya. I see that it’s on the edit page now. I kept thinking it prompted you when you upload the video and I never was seeing it.

Thanks for your help. I’ll implement this and see what happens!

       
aquaadmin's avatar
aquaadmin
64 posts
16 years ago
aquaadmin's avatar aquaadmin

We love this plugin first off. We use it on our website for both audio and video.

I just tried upgrading it to 4.5 from 4.0 and my videos no longer work. We were using the viral-1 and google analytics plugins. From what I can gather from the plugin docs it looks like I’m supposed to include flashvars to enable functionality in the plugin but I don’t know how to accomplish this using the FLV Media Player 4.5 EE plugin. Here’s a link to our video player page:

Video Player

and on our audio page:

Audio Page

Any idea why it is no longer working?

EDIT: I had to revert back to the old versions of everything because I needed to get the videos working again. So the links above will show everything working. Maybe I can switch back to the new versions when you have a chance to look at this post.

       
John Henry Donovan's avatar
John Henry Donovan
12,339 posts
16 years ago
John Henry Donovan's avatar John Henry Donovan

aquaadmin,

you would use the plugin parameter.

So as an example for the Viral plugin you would add

plugins=”viral-1”

If you wanted to add settings to the Viral plugin you would so it like this

plugins=”viral-1&viral.callout=none&viral.onpause=false”

The same applies for the Google Plugin

Here is an example of both combined together

plugins=”viral-1&viral.callout=none&viral.onpause=false,googlytics-1”

Can you post what you are using for the current plugin and what you tried with the most recent version please?

       
Deron Sizemore's avatar
Deron Sizemore
1,033 posts
16 years ago
Deron Sizemore's avatar Deron Sizemore

John,

I’m back again with another question about your addon.

I have a need now to create an audio playlist of MP3’s. I didn’t know we needed a playlist initially so I already have everything developed inside of EE using FieldFrame Matrix and nGen File Field where the client will upload an MP3 files in an entry using FF Matrix. Currently I’m just outputting this data on the site in an unordered list, but it now needs to be in a playlist so visitors cannot download the MP3’s, only play them.

So, I’m reading through your tutorial here: http://5pieces.com/blog/playlists-for-the-flv-media-player-with-fieldframe/ for video playlist and I’m wondering if this would be the same process for developing an audio playlist? Seems like it would be only instead of using the YouTube ID, I would simply use the nGen File field name for <location> so that the MP3 track is listed? Or is there something else I would need to do before an MP3 would play in a playlist?

I also will have multiple playlists on on single page, so I assume I’ll need the entry_id= parameter to differentiate the playlists?

Would I use that like this?:


  <trackList>
{exp:weblog:entries weblog="media_gallery" limit="1" disable="trackbacks|categories|pagination|category_fields|member_data" entry_id="{entry_id}"}
    {media_videos}
    <track>
      <title>{cell_1}</title>
      <annotation>{cell_2}</annotation>
      <location>http://www.youtube.com/watch?v={cell_3}</location>
      <image>http://img.youtube.com/vi/{cell_3}/0.jpg</image>
    </track>
    {/media_videos}
    {/exp:weblog:entries} </trackList>
</playlist>
       
smartpill's avatar
smartpill
456 posts
16 years ago
smartpill's avatar smartpill

This is odd. I have Playa 1.3.3 and FLV Player 4.5 together, and if I add any entries in Playa, the FLV Player stops playing. It appears properly, but won’t play any audio. As soon as I remove the related entry in Playa, it works fine.

UPDATE: If I remove the heading tag (h3, h4, etc.) in the conditional statement, and leave all the other code it works fine. Strange.

       
ron00nor's avatar
ron00nor
52 posts
16 years ago
ron00nor's avatar ron00nor

Hi,

I upgraded to 4.5 and found that IE7 did not display my flv’s. FF3 does fine. Your plugin produces a “,” with each flashvar. It appeared that some flashvars are depreciated. Here the wrong code:

var params = {
wmode: 'opaque',
bgcolor: '#CCCCCC',
allowfullscreen: 'true',
allowscriptaccess: 'always',<<<<<
};

IE doesn’t like the last “,”. Removing ‘allowfullscreen’ and ‘allowscriptaccess’ produces clean code that works fine:

var params = {
wmode: 'opaque',
bgcolor: '#CCCCCC'
};

Just a hint.

       
aquaadmin's avatar
aquaadmin
64 posts
16 years ago
aquaadmin's avatar aquaadmin

Hi John,

Can you post what you are using for the current plugin and what you tried with the most recent version please?

Well I’ve narrowed it down to the plugins parameter. Whenever I add plugins=”” the video does not play. It used to work fine in version 4.0 of your EE plugin and now with the upgrade it does not. I’ve removed the viral-1 and googlytics-1 plugins and the video plays fine but once I add those the video disappears. Here’s a link to the video.

Any ideas what might be going wrong?

       
aquaadmin's avatar
aquaadmin
64 posts
about 16 years ago
aquaadmin's avatar aquaadmin

Hi

I’m sorry I just can’t get this to work when I add the plugins=”” parameter. Sorry to keep bugging you on this but I can’t seem to get this to work. We use the googlytics plugin to track stats. The old player used the googlytics-1 plugin. Thinking that this was the problem I’m now using the gapro-1 plugin with the 4.5 Media Player, but I still cannot get this to work. When I add the plugins=”gapro-1” parameter my movies disappear, when I remove it, they reappear.

Here’s a link to our audio files.

As you can see in the source code for the page the EE plugin seems to work but the movies are not there. Do you have any idea why this is happening. Thanks for any light you can shine on this problem.

Edit: Had to downgrade, oh well.

       
kmgkid's avatar
kmgkid
50 posts
about 16 years ago
kmgkid's avatar kmgkid

HI,

HOw can I get img sizer plugin or something similar to get a image from the video for the preview? Im not using the youtube option but using ngen to upload video to own site. I know I can easily make the image in photoshop and build a field to upload the image, but would rather take that set out and do it the fly. any suggestions?

Thanks Kevin

       
lance72's avatar
lance72
110 posts
15 years ago
lance72's avatar lance72

I am using the FLV plugin + JWPlayer and have it working fine… but I want a poster frame or the videos all start on black… not a good look. This can be done… some Wordpress people manage to get it working…

I read it is not a JW Player issue.. I have an image in a field….

any thoughts? Lance

       
Jason Morehead's avatar
Jason Morehead
454 posts
15 years ago
Jason Morehead's avatar Jason Morehead

I just installed this plugin and it works great… except in IE6. Same goes for the other videos that were mentioned in this thread, as well as the videos that appear on the main add-on page. Am I missing something?

       
Steven Grant's avatar
Steven Grant
894 posts
15 years ago
Steven Grant's avatar Steven Grant

Just came across this and I’m struggling to see where I’m going wrong. I’m building a listen section for a church website that will include multiple instances of the jw player.

[removed][removed]
{exp:weblog:entries weblog="audio"}
{exp:flvplugin playerpath="{site_url}flash/player.swf" file="{audiofile}" playernumber="{entry_id}" screencolor="151d4a" width="400" height="302"}
<div id="player{entry_id}"></div>
{/exp:weblog:entries}

produces

[removed][removed]

<!--
** FLV Media Player Plugin v4.5 ** 
An easy and flexible way to add video and audio to your website.
See: http://5pieces.com/addons/flv-media-player/ for more information.
-->
[removed]
var flashvars = {
file: '/images/uploads/audio/sugar-plum-fairy_1.mp3',
screencolor: '151d4a',
id: '18'
};
var params = {
wmode: 'opaque',
bgcolor: '#CCCCCC',
allowfullscreen: 'true',
allowscriptaccess: 'always'
};
swfobject.embedSWF('http://domain.co.uk/flash/player.swf', 'player18','400','302', '9.0.0','expressInstall.swf', flashvars, params);
[removed]

<div id="player18"></div>

<!--
** FLV Media Player Plugin v4.5 ** 
An easy and flexible way to add video and audio to your website.
See: http://5pieces.com/addons/flv-media-player/ for more information.
-->
[removed]
var flashvars = {
file: '/images/uploads/audio/pachelbels-canon-arranged.mp3',
screencolor: '151d4a',
id: '14'
};
var params = {
wmode: 'opaque',
bgcolor: '#CCCCCC',
allowfullscreen: 'true',
allowscriptaccess: 'always'
};
swfobject.embedSWF('http://domain.co.uk/flash/player.swf', 'player14','400','302', '9.0.0','expressInstall.swf', flashvars, params);
[removed]

<div id="player14"></div>

but no sign of the player. Am I missing something fundamental?

Thanks, S

       
Steven Grant's avatar
Steven Grant
894 posts
15 years ago
Steven Grant's avatar Steven Grant

OK - managed to get this sorted although can’t see how I add flashvars now?

       
1 2 3 4 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.