Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 28. Nov 2024, 06:25

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Video Size/Scale in v1.7
PostPosted: 11. Jun 2008, 18:23 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
Hi,

When playing videos pre 1.7, the size used to scale to that specified in my video.php. Now the video is scaled at 100%. Is there a further option in the video.php to enable the scaling again?

my video.php file contents

<?php
$video_size_x=800;
$video_size_y=670;
$video_player="WMP";
$video_autostart=true; // true or false works!
$video_show_dl_link=true; // true or false works
?>


my website: www.markypea.com


Thank you in advance for your assistance.


Top
 Profile  
 
 Post subject:
PostPosted: 11. Jun 2008, 20:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
it's scaled to 100%?

I only set the size of the player - that's it.
Is it displayed bigger or smaller?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 12. Jun 2008, 09:11 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
I mean that the video is displaying at it's original size. Maybe I am mistaken, I have some videos that are 320x240, but when I set the video size in the video.php file they were scaled to fit the WMP window. If nothing has changed with the code for this then it could quite possibly a change with WMP and then don't worrk.

Thanks for the quick reply.


Top
 Profile  
 
 Post subject:
PostPosted: 12. Jun 2008, 09:26 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I have to try this. There are many options you can set vor WMP

if you open js/twg_image.js and search for

getWMP you see all the options.

Which browser are you using? because this is very important.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 16. Jun 2008, 19:26 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
Hi,

I've tried it with Firefox and IE7, still no luck.

My wife commented on why I had changed the setting as she was looking at a video at work, so I can assume that it is not a setting on my machine's WMP.


Top
 Profile  
 
 Post subject:
PostPosted: 16. Jun 2008, 23:47 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
can you send me one of your videos and your video.php if it is not too large?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jun 2008, 13:53 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
Hi,

Sorry I keep taking so long to reply, life is so hectic at the moment I keep forgetting!

One of the videos is at:
http://www.markypea.com/pictures/014___ ... Lovely.wmv

and the video is in the same place

#removed_broken_link

Does that help?


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jun 2008, 14:04 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
post the content of video.php - a php file cannot be shown by klicking on it ;)
Or is this the one you posted already?

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jun 2008, 14:11 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
It is the one that i posted already.

Sorry, I am at work and they severely limit what we can download. I also will not able to check if it works for me until I get home in a few hours. But suffice to say if it works for you, then it will probably work for me. :D


Top
 Profile  
 
 Post subject:
PostPosted: 19. Jun 2008, 14:21 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
I can test at the weekend - still EM :)

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2008, 14:25 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
Any luck?


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2008, 14:27 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
i'll try tonight.
I was not at home this WE.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 23. Jun 2008, 20:30 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
all right - found it and now I know why I changed it.

Resize is only implemented properly in IE! If I use the same settings for Firefox it looks very bad (2 times the width than the height).

you can open js/twg_image.js and search for AutoSize

and set the value to 4 (this means to strech it). Under IE it is great - but in Firefox it sucks.

I really recommend that you simply use flv player - then you get nice streaming as well! i'll add the restriction for WMP to the FAQ.

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 24. Jun 2008, 13:30 
Offline

Joined: 2. Aug 2007, 18:53
Posts: 26
I have changed the js file to be:

doc += " displaysize='0' autosize='4' stretchToFit='1' showcontrols='1' showtracker='1' showstatusbar='1' ";

still the same, anything else I need to change?


As ever thank you for your time and assistance Michael.


Top
 Profile  
 
 Post subject:
PostPosted: 24. Jun 2008, 13:50 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
sorry - yopu have to change the setting of

displaysize

2 times !


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy