Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum https://www.tinywebgallery.com/forum/ |
|
Local MP4 Video plays always first video with DHTML https://www.tinywebgallery.com/forum/viewtopic.php?f=5&t=3626 |
Page 1 of 1 |
Author: | KayM [ 3. Jan 2014, 12:23 ] |
Post subject: | Local MP4 Video plays always first video with DHTML |
Hi, Youtube blocks some party videos because of music copyright, so I switched to local MP4 video. Everything seems fine with FLV until I notice that only the first video is played, regardless what preview icon I click After many trys I find out its because I'm using DHTML. After switching to HTML Navigation in video.php everything works like expected. here is my config: newest twg 2.0 skin winter (modified) Firefox 26 video.php: <?php $video_size_x=600; $video_size_y=353; $video_player="FLV"; $video_flash_site = ""; $video_autostart=true; // true and false works $video_show_dl_link=false; // true and false works $video_flv_buffer=2; // this is the buffer is s that is filled before the video starts - This parameter is new in 1.7.8.1! $video_flv_stretching="uniform"; // New 1.8.3: defines how the video is streched. Possible values: uniform(default), fill, exactfit, none $show_slideshow = false; $default_big_navigation="HTML"; // <- this was the solution ?> Files: # ls 20140101-HappyNewYear-1.jpg 20140101-HappyNewYear-1.mp4 20140101-HappyNewYear-2.jpg 20140101-HappyNewYear-2.mp4 20140101-HappyNewYear-3.jpg 20140101-HappyNewYear-3.mp4 20140101-HappyNewYear-4.jpg 20140101-HappyNewYear-4.mp4 private.txt video.php |
Author: | TinyWebGallery [ 3. Jan 2014, 19:28 ] |
Post subject: | Re: Local MP4 Video plays always first video with DHTML |
You just found a bug. Seems one of my changes disabled this. Normally this should work in dhtml mode as well. I'll fix this in the next build... Best, Michael |
Author: | TinyWebGallery [ 3. Jan 2014, 21:13 ] |
Post subject: | Re: Local MP4 Video plays always first video with DHTML |
Fixed in 2.0.1 which is online now. Working again here: http://www.tinywebgallery.com/demo/twg_image/04_Multimedia%252f007_flv_player/x Best, Michael |
Author: | KayM [ 4. Jan 2014, 12:50 ] |
Post subject: | Re: Local MP4 Video plays always first video with DHTML |
Hi Michael, Du bist verdammt schnell , danke fürs fixen, ich probiere es demnächst mal aus. Gruß Kay |
Author: | KayM [ 4. Jan 2014, 14:04 ] |
Post subject: | Re: Local MP4 Video plays always first video with DHTML |
Hi Michael, after some fiddeling with mobile mode an video playing I added the follwing lines to my video.php to disable mobile mode (aka showing dekstop page with mobile icon set) for playing video with local player: if ($twg_mobile) { $twg_mobile= false; // disable mobile mode for watching videos with FLV player $icon_set= $icon_set_mobile; } Without this setting only the preview pictures of the video are shown in fullscreen mode. OK, you need adobe flash player installed also, but with mobile mode its impossible to play the video. Kay |
Author: | TinyWebGallery [ 4. Jan 2014, 21:50 ] |
Post subject: | Re: Local MP4 Video plays always first video with DHTML |
You are right. For mobile devices I have disabled videos to save bandwidth. So you solution is the way to go. Best, Michael |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |