Radio Streaming - 50% Lifetime Discount with purchase of any Joomla Web Radio Addon. Discount Code: STR15-Z
See Radio Streaming Plans

Results 1 to 9 of 9

Thread: HTML5 and FLASH Player Select Auto.

  1. #1

    Unhappy HTML5 and FLASH Player Select Auto.

    Hello my Web Site is this: www.radioavfm.net and i have one Popup Rádio Player conf. The problem is that i have to preconfig the module for diferent machines (PC and mac) i use the html 5 and flash player. How can i get on link and the pop will select the html or the flash verions?

    Best Regards
    Gustavo Ribeiro

  2. #2
    Administrator
    Join Date
    Jul 2015
    Posts
    65
    Hello

    you can't chose the version of the player from the popup URL , you can create two instances of the player (one with flash and the other with html5 player) and then you can use an extension that will let you show the modules based on browser or operating system (e.g http://extensions.joomla.org/extensi...module-manager a free extension that will allow you to show a module based on criteria described previous)

  3. #3
    Tks for your replay.

    I did just that that. But i need to make a single link eg: www.radioavfm.net/live and then the player will be selected. It will be possible?

    Quote Originally Posted by kostas View Post
    Hello

    you can't chose the version of the player from the popup URL , you can create two instances of the player (one with flash and the other with html5 player) and then you can use an extension that will let you show the modules based on browser or operating system (e.g http://extensions.joomla.org/extensi...module-manager a free extension that will allow you to show a module based on criteria described previous)

  4. #4
    Administrator
    Join Date
    Jul 2015
    Posts
    65
    Do you mean that the <url>/live will be the popup or you want it to appear inside your page?
    The first option is not possible by default, you will need extra code in order to achieve this result

  5. #5

    popup Rádio AVFM

    Yes popup, can you help me?

    QUOTE=kostas;355]Do you mean that the <url>/live will be the popup or you want it to appear inside your page?
    The first option is not possible by default, you will need extra code in order to achieve this result[/QUOTE]

  6. #6
    Administrator
    Join Date
    Jul 2015
    Posts
    65
    You can make the url of the popup to look pretty by adding the following line:

    Code:
    RewriteRule ^([^/]*)$ /modules/mod_radioplayer/tmpl/popup.php?radio=$1 [L]
    in the .htaccess file (make sure the code is after the line "RewriteEngine On")

    this will allow you to access the popup with URL like www.mywebsite.com/Radio+Listen+Now+Popup if the module name is Radio Listen Now Popup so if your module is named live
    it will be accessed from the URL www.mywebsite.com/live but the default popup button won't use this link so you will have to edit the code of the module or create another popup button (you can copy the html code ) that will open the popup from the short URL.

  7. #7
    Hello again,

    When you use this code in the .htaccess to open the site www.radioavfm.net and it opens the pop on the page that is http://www.radioavfm.net/modules/mod...tmpl/popup.php


    Right now the site is operating in www.radioavfm.net/radio/


    I created two players one called "Emissão Direto HTML5" ( http://www.radioavfm.net/modules/mod...o+Direto+HTML5 ) and other "Emissão Direto Flash" ( http://www.radioavfm.net/modules/mod...o+Direto+flash)


    One in flash and the other in HTML5. According to the user who access the site www.radioavfm.net/radio the button " Online Issue" will stop the in the html5 or the flash.

    How can be created one "default" pop player that select the flash or the html5?


    Quote Originally Posted by kostas View Post
    You can make the url of the popup to look pretty by adding the following line:

    Code:
    RewriteRule ^([^/]*)$ /modules/mod_radioplayer/tmpl/popup.php?radio=$1 [L]
    in the .htaccess file (make sure the code is after the line "RewriteEngine On")

    this will allow you to access the popup with URL like www.mywebsite.com/Radio+Listen+Now+Popup if the module name is Radio Listen Now Popup so if your module is named live
    it will be accessed from the URL www.mywebsite.com/live but the default popup button won't use this link so you will have to edit the code of the module or create another popup button (you can copy the html code ) that will open the popup from the short URL.

  8. #8
    Now i make this: make the link www.radioavfm.net/direto/ to http://www.radioavfm.net/modules/mod...tmpl/popup.php and is all ok! One problem! no AutoPlay... I have to click in Play. Andoid or IOS.

    Quote Originally Posted by quimerabrand View Post
    Hello again,

    When you use this code in the .htaccess to open the site www.radioavfm.net and it opens the pop on the page that is http://www.radioavfm.net/modules/mod...tmpl/popup.php


    Right now the site is operating in www.radioavfm.net/radio/


    I created two players one called "Emissão Direto HTML5" ( http://www.radioavfm.net/modules/mod...o+Direto+HTML5 ) and other "Emissão Direto Flash" ( http://www.radioavfm.net/modules/mod...o+Direto+flash)


    One in flash and the other in HTML5. According to the user who access the site www.radioavfm.net/radio the button " Online Issue" will stop the in the html5 or the flash.

    How can be created one "default" pop player that select the flash or the html5?

  9. #9
    Super Moderator
    Join Date
    Mar 2012
    Posts
    183
    Quote Originally Posted by quimerabrand View Post
    Now i make this: make the link www.radioavfm.net/direto/ to http://www.radioavfm.net/modules/mod...tmpl/popup.php and is all ok! One problem! no AutoPlay... I have to click in Play. Andoid or IOS.
    Hello,
    Mobile browser's ignore the autoplay attribute on <audio> and <video> elements in order to save mobile bandwidth usage and other security reasons. I am afraid there is no workaround other than clicking / touching the play button.
    Support Operator
    MultiHosting.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •