Go Shopping Cart Site Map User Panel and Admin English Home

Home > Easypano Forum    Easypano Forum has been upgraded.

Easypano Forum


Welcome Guest Register Login Search The Forum Display List of Forum Members
 All Forums
  Tourweaver
       Forum Search Results
 
Subject Topic: TW 7 Auto Detect safari Browser Post Reply Post New Topic
Message posted by woconno4 on February-09-2012 at 10:56pm
View woconno4's Profile Profile   Search for other posts by woconno4 Search   Quote woconno4 Quote   Send Private Message Send Msg  
woconno4
Standard Member
Standard Member

December-03-2006
8 Posts

I noticed when publishing in the TW 7 version now flash/HTML5 in auto did not seem to auto detect safari browser it just redirects to flash default now.  Has anyone modified this default code to check for safari browser.

<html>
    <head>
     <META NAME="GENERATOR" Content="Tourweaver">
      <title>Virtual Tour Created By Easypano</title>
    </head>
    <body>
      <script type="text/javascript">
    var _url="";
    var _bi=window.navigator.userAgent.toLowerCase();
    if(_bi.indexOf("iphone")>0 || _bi.indexOf("ipad")>0 || _bi.indexOf("ipod")>0) _url="html5/Project29.html";
    else _url="flash/f29_Project29.html";
    window.location.href=_url;
      </script>
    </body>
</html>


Message posted by panozon on February-10-2012 at 12:00am
View panozon's Profile Profile   Search for other posts by panozon Search   Visit panozon's Homepage www   Quote panozon Quote   Send Private Message Send Msg  
panozon
Avatar
Standard Member
Standard Member
United States
January-17-2012
35 Posts

i think you should add

_bi.indexOf("safari")>0

after

_bi.indexOf("ipod")>0

 

like this

if(_bi.indexOf("iphone")>0 || _bi.indexOf("ipad")>0 || _bi.indexOf("ipod")>0 || _bi.indexOf("safari")>0) _url="html5/Project29.html";

 

probably works

 


Message posted by smooth on February-10-2012 at 1:18am
View smooth's Profile Profile   Search for other posts by smooth Search   Visit smooth's Homepage www   Quote smooth Quote   Send Private Message Send Msg  
smooth
Forum Moderator
Forum Moderator
Australia
November-23-2002
5401 Posts

It is normal for Safari to display in Flash if Flash plug-in is installed. Flash is the preferred player.

The simple fact of the matter is that Tourweaver doesn't offer large enough HTML5 cube faces for decent display on a PC/Laptop. The maximum offered is for iPad at 955px. Which look rather ordinary of a screen with a resolution higher than the iPad's 1024x768.

Regards, Smooth [8D]


Message posted by woconno4 on February-10-2012 at 10:32am
View woconno4's Profile Profile   Search for other posts by woconno4 Search   Quote woconno4 Quote   Send Private Message Send Msg  
woconno4
Standard Member
Standard Member

December-03-2006
8 Posts

Thanks Smooth and Panozon

First the code change to include safari does work tested. Next a hint from Smooth was my flash and shockwave plug-in where not up to date causing tour not to display correctly in safari browser for TW 7.   


Message posted by panozon on February-11-2012 at 2:56am
View panozon's Profile Profile   Search for other posts by panozon Search   Visit panozon's Homepage www   Quote panozon Quote   Send Private Message Send Msg  
panozon
Avatar
Standard Member
Standard Member
United States
January-17-2012
35 Posts

ok try this

_bi.indexOf("mac")>0

probably works


If you wish to post a reply to this thread you must first Login
If you are not already registered you must first register

Forum Jump Post Reply Post New Topic
Printer Friendly Version Printable version

Powered by: - Web Wiz Guide Discussion Forums