Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Built-in audio player does not work when SEO links turned on
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=4109
Page 1 of 1

Author:  jwege [ 18. Jun 2016, 10:06 ]
Post subject:  Built-in audio player does not work when SEO links turned on

I was trying to figure out why the built in flash player did not play MP3's as described in Q&A #34. The player loads the file but won't play it. After doing some more detail analysis I found out that the SEO links feature blocks it from playing. After turning of SEO links the audio plays like described.

You should have a look to that to correct it.

Author:  TinyWebGallery [ 18. Jun 2016, 13:26 ]
Post subject:  Re: Built-in audio player does not work when SEO links turne

Please look at
http://www.tinywebgallery.com/demo/twg_ ... 001_boas/x

How have you defined
$video_flash_site= ?

With SEO on you need to add the link to the mp3 directory there.

Best, Michael

Author:  jwege [ 18. Jun 2016, 17:51 ]
Post subject:  Re: Built-in audio player does not work when SEO links turne

I use the following video.php:

<?php
$video_player="MP3";
$video_autostart=false; // true or false works!
$video_show_dl_link=true; // true or false works
$video_flash_site=""; // if you store your mp3's local - if you put an url base here you can even link remote
?>

I do not use a value for $video_flash_site because the files are located in the local directory. According to Q&A #34 it is not needed when files are local.
Without SEO links the player works fine like this, with SEO links on it doesn't work.

I have tested now with different settings in $video_flash_site but I doesn't work with SEO links activated.

What I have tried is: $video_flash_site="http://<mysite.com>/index.php?twg_album=<albumname>&twg_show=" ---> no success

I have also tried with a SEO link equivalent: $video_flash_site="http://<mysite.com>/twg_image/<albumname>/" ---> no success

Author:  TinyWebGallery [ 18. Jun 2016, 21:47 ]
Post subject:  Re: Built-in audio player does not work when SEO links turne

But # 34 is with SEO not enabled. This was written before the SEO feature was implemented.

You have to link into the pictures directory directly.
$video_flash_site="http://<mysite.com>/pictures/<albumname>/";

Best, Michael

Author:  jwege [ 18. Jun 2016, 22:06 ]
Post subject:  Re: Built-in audio player does not work when SEO links turne

Sorry Michael,
I forgot to write that I also have tested that! Also with direct link the audioplayer does not play. While with SEO links off it plays also with this value.

Author:  TinyWebGallery [ 18. Jun 2016, 23:07 ]
Post subject:  Re: Built-in audio player does not work when SEO links turne

Do you have a url where I can see this.

Because on my demo it woks fine if the $video_flash_site is defined properly.

Best, Michael

Author:  jwege [ 19. Jun 2016, 12:34 ]
Post subject:  Re: Built-in audio player does not work when SEO links turne

I will send link and admin-credentials via email...

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/