Testing the f4player (nojs)

238 views
Skip to first unread message

Ricardo

unread,
May 2, 2010, 6:15:58 AM5/2/10
to f4Player
Hi

I've setup the page with the f4player, you can see it at:

http://www.ricardouk.com/testing-f4player

Thanks

--
You received this message because you are subscribed to the Google Groups "f4Player" group.
To post to this group, send email to f4pl...@googlegroups.com.
To unsubscribe from this group, send email to f4player+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/f4player?hl=en.

Göker CEBECi

unread,
May 5, 2010, 2:05:45 PM5/5/10
to f4pl...@googlegroups.com
hi Ricardo,

I fixed dimension problems in alpha 2.1 which I've just  released.

What is your Internet Explorer version? It is working on my IE8.

And I may add a PNG Watermark in the next version.

Thanks for feedbacks.


2010/5/2 Ricardo <ricardo...@gmail.com>



--
goker.cebeci
http://gokercebeci.com

Ricardo

unread,
May 5, 2010, 2:25:16 PM5/5/10
to f4Player
Hi Göker CEBECi

the preview picture and menu bar are now centered but the video doesnt
fill the whole player area, it shows the video as 4:3 when the video
is 16:9, ive update the demo page

http://www.ricardouk.com/testing-f4player

Thanks and keep up the good work

Ricardo

unread,
May 5, 2010, 2:59:46 PM5/5/10
to f4Player
my family uses IE7 (need to update it) but it works now in IE with
version 2.1

Have you thought about add a right click sub menu with the player
name? if that name was clicked it would bring the user to f4player
website.

if i use your player on my blog nobody will know who's player is it
and where they can download it.

Ricardo

unread,
May 5, 2010, 3:06:45 PM5/5/10
to f4Player
i just noticed one bug...no full screen button...

Göker CEBECi

unread,
May 5, 2010, 3:52:40 PM5/5/10
to f4pl...@googlegroups.com
the full screen button is optional, It's not a bug.

If you want to display the full screen button, you should replace 

<param name="flashVars" value="
skin=skins%2Fdefault.swf
&thumbnail=video-thumbnail.jpg
&autoplay=0
"/>
 with

<param name="flashVars" value="
skin=skins%2Fdefault.swf
&thumbnail=video-thumbnail.jpg
&autoplay=0
&fullscreen=1
"/>

thanks, I can try adding `right click signature` on the next version.


2010/5/5 Ricardo <ricardo...@gmail.com>



--
goker.cebeci
http://gokercebeci.com

Ricardo

unread,
May 5, 2010, 4:43:49 PM5/5/10
to f4Player
Got it thanks.

About the aspect ratio problem....the demos on f4player website dont
have that problem.., it displays widescreen videos properly

Giovanni Busa

unread,
May 20, 2010, 4:17:31 AM5/20/10
to f4Player
hi there!
first of all great job. very nice an unintrusive player!
but i have the same problem.
widescreen movies are "compacted" to a 4:3 ratio.
I can' figured why. in the demo page there are some videos in 16:9 and
shown in different sizes..

thank you

--
You received this message because you are subscribed to the Google
Groups "f4Player" group.
http://f4player.org | http://groups.google.com/group/f4player

Joe

unread,
May 30, 2010, 11:45:36 PM5/30/10
to f4Player
Hi,

I have the same reszie issue.

However I got something working. I was trying to get an External
interface working, and I created a new function which was a
duplication of the existing play function essentially.

I found however that if you size the player using the meta data object
(meta.width, meta.height) rather then the video.width, video.height it
works correctly.

BUT it only works if you first play the video by hitting the play
button, THEN hit the play button on the HTML page that calls my
External Interface function. The video is resized correctly

Maybe some encoders do not write the information correctly?? My videos
were encoded using the older Flash Video Encoder and the Adobe Media
Encoder.

For example in the play function this gives me the correct sizes:

Here is the function I was using:

private function loadAndPlay(str:String):void {
STOP();
videourl = str;
ready = true;
var dim = 1;
var vert:Boolean = (W/H) > 1;
if(meta.width > meta.height && vert){
dim = H / meta.height;

} else {
dim = W / meta.width;
}
video.width = meta.width * dim;
video.height = meta.height * dim;
video.x = (W - video.width) / 2 >> 0;
video.y = (H - video.height) / 2 >> 0;

player.navigator.playBtn.visible =
(player.navigator.playBtn.visible?false:true);
player.navigator.pauseBtn.visible =
(player.navigator.pauseBtn.visible?false:true);
player.playBtn.visible = false;
player.screen.visible = false;
ns.play(str); // *** play video file
// PROGRESS
progressBarTimer.addEventListener(TimerEvent.TIMER,
progressBarTimerEvent);
progressBarTimer.start();
}

Don't know if this is really correct or anything but it maybe helps
find the issue?? And it is not really a fix as it does not work if you
copy that function back into the play function.

Joe

On May 20, 8:17 pm, Giovanni Busa <busa.giovann...@gmail.com> wrote:
> hi there!
> first of all great job. very nice an unintrusive player!
> but i have the same problem.
> widescreen movies are "compacted" to a 4:3 ratio.
> I can' figured why. in the demo page there are some videos in 16:9 and
> shown in different sizes..
>
> thank you
>
> --
> You received this message because you are subscribed to the Google
> Groups "f4Player" group.http://f4player.org|http://groups.google.com/group/f4player

Joe

unread,
May 31, 2010, 9:49:52 PM5/31/10
to f4Player
I have managed to get the resize working correctly for me.

I moved the play resize code to the metaDataObject function, and
changed the places in the code where we look up the video.width,
video.height to: meta.width, meta.height.

For example putting this in the metaDataObject solves all the issues
for me:
var dim = 1;
var vert:Boolean = (W/H) > 1;
if(meta.width > meta.height && vert){
dim = H / meta.height;

} else {
dim = W / meta.width;
}
video.width = meta.width * dim;
video.height = meta.height * dim;
video.x = (W - video.width) / 2 >> 0;
video.y = (H - video.height) / 2 >> 0;

I think it must be the fact that the size info (in the meta data) is
not loaded before the video is resized, and the video stream is just
sized at a default value (which happens to be 4:3).

Though I am just guessing, as I am not really a flash coder ;-)

But at least this works.

Sorry if this is not the right place to post this, as I say the whole
"proper way" to submit bugs etc is kind of new to me!

Joe :-)
Reply all
Reply to author
Forward
0 new messages