Allow Interactive hotspot to open a file on a network shared drive

  • 1
  • Idea
  • Updated 8 months ago

I'd like to create an interactive hotspot to open a shared
network drive file (training video - point the user to where the complete policy document is located)


But when you add an interactive hotspot it automatically adds http to the front of the url

To open a shared drive the url needs to look like this:
file://11.1.111.111/Finance/

If you enter that in the url it replaces it with
http://///11.1.111.111/Finance/

and that doesn't open

Please add support for the file prefix.


Photo of Richard

Richard

  • 1 Post
  • 0 Reply Likes

Posted 10 months ago

  • 1
Photo of kayakman

kayakman, Champion

  • 6250 Posts
  • 1834 Reply Likes
I believe CS 8.4 was the last version that supported non-http URLs; even then, the target had to be a file that would open in a browser; I believe the change was made for security reasons
Photo of Rick Stone

Rick Stone

  • 4498 Posts
  • 2007 Reply Likes
Hi there

I'm wondering if the workaround for the moment would be to simply create a simple HTML redirect page. Basically, the code would look like this:

<html xmlns="http://www.w3.org/1999/xhtml">;    
  <head>      
    <title>The Tudors</title>      
    <meta http-equiv="refresh" content="0;URL='file://11.1.111.111/Finance/Policy.doc'" />    
  </head>    
  <body> 
    <p>Please wait, opening file</p> 
  </body>  
</html>     


Then save that page as perhaps OpenFile.htm and point the Camtasia link to the OpenFile.htm page?



At that point you would just ensure the OpenFile.htm page was in the same folder as your camtasia files.

Cheers... Rick :)
(Edited)
Photo of kayakman

kayakman, Champion

  • 6250 Posts
  • 1834 Reply Likes
very creative idea, Rick; have you tried the approach? I don't do much html scripting; any chance you could do a short screencast?
Photo of Rick Stone

Rick Stone

  • 4498 Posts
  • 2007 Reply Likes
 Yeah, lemme perform a test and perhaps a short screencast will follow that!
Photo of Rick Stone

Rick Stone

  • 4498 Posts
  • 2007 Reply Likes
Well, rats. The test locally failed. But it may work if I copy it to the web. Will try that next.
Photo of Dave O'Rourke

Dave O'Rourke, Senior Software Engineer

  • 1423 Posts
  • 376 Reply Likes
Linking from HTML to a network drive may be difficult or impossible due to security sandbox restrictions in the browser.  It may work in some limited cases, but in my experience, it's best not to do this.

Generally, anything you want the user to see in the browser goes on the web server.  That way the viewer stays in the same security sandbox, and everything just works.  When you try to mix web with any type of "local" files (which includes network drives), you're on the fringe and fighting against browser security.

See also:
https://stackoverflow.com/questions/1369147/linking-a-unc-network-drive-on-an-html-page
https://stackoverflow.com/questions/18246053/how-can-i-create-a-link-to-a-local-file-on-a-locally-ru...
Photo of Rick Stone

Rick Stone

  • 4494 Posts
  • 2005 Reply Likes
Hi Dave

I totally understand what you are saying about the possible issues. But I think we would be remiss to just state that and call it a day, no?

The fact is, we can't even link to a simple HTML page locally. I tried and this is what I get:



Surely you would agree that Camtasia should be able to open a simple HTML page if you are running it locally, no?

Note that while I WAS attempting to use a meta refresh to redirect to the desired file, for this particular test I simply edited the HTML page so all it did was present some text. Yet, simply trying to open that plain jane basic HTML page fails.

It seems to me that "the fix" would be very simple. Just amend the coding of the field so it doesn't insist on prefixing things with the HTTP://. Then again, I really have no clue how involved that may or may not actually be. 

Cheers... Rick :)
Photo of kayakman

kayakman, Champion

  • 6250 Posts
  • 1834 Reply Likes
Rick, this is the same issue encountered when trying to work with relative URLs, even when on a web site

the CS editor has for years stuffed the http:// into the URL filed; but you used to be able to edit that out in the project file; then you could produce and relative URLs worked

that capability was whacked with CS 8.5; CS9 has never tolerated relative URLs; the issue now seems to coded within the smart player; editing the config.xmls to a relative URL still fails
Photo of Rick Stone

Rick Stone

  • 4494 Posts
  • 2005 Reply Likes
Hey Dave, this seems to be even worse than it appears. 

Moments ago I tested extremely basic linking. After uploading to the web and testing, we aren't even able to link to an HTML file we also copy. Forget any files trying to be opened.

Earlier you said the issue was with the security sandbox. But shouldn't we be able to link to another HTML page that exists in the same folder on the web? That's just basic and extremely fundamental HTML. Additionally, because it's now on the web, there should be no "security sandbox" issues, no?

I've seen Kayakman mention that "relative linking" has failed for a long while. I'm guessing that this is exactly what he's referring to. That threw me because I've always considered relative linking to be when I want to navigate to a different folder and a file. For example, go up a folder level and drop into a different folder level so the link looks kind of like this: ../OtherFolder/OtherFile.htm

So this is horribly broken. It looks like the only way to create a link to a different file is to use a fully qualified URL such as http://www.somesite.com/Folder/FileName.htm. And I might imagine you are TOTALLY out of luck if it's on a secure area that begins with HTTPS.

Cheers... Rick :)
(Edited)
Photo of Rick Stone

Rick Stone

  • 4498 Posts
  • 2007 Reply Likes
Feeling a bit like a Cheech and Chong skit here.

Hey, let me in! It's Dave!

Dave?

Yeah Dave!

Dave's not here, man!
Photo of Rick Stone

Rick Stone

  • 4498 Posts
  • 2007 Reply Likes
Tap tap tap...Pfffffft testing 1 2 3 4 test test....

hummmmmmmm (loud feedback abruptly stopping)

Dave, are you still here? Dave? Is Dave in the house?

Is this something likely to see a fix?

Cheers... Rick :)
(Edited)
Photo of Kimberly A Hitchens

Kimberly A Hitchens

  • 12 Posts
  • 4 Reply Likes
I'd love to know the answer to this.

I'm getting ready to do a major revamp of our (extremely extensive) FAQs, How-Tos, etc.  Much of that will most likely be in videos, Click Guides, etc.  I'm planning on putting the entire kit-and-kaboobdle in a Typeform (with nested typeforms), which in turn, will be hosted on my own site.

However, much of the Hotspot interactivity would need to be able to work with local (and not http://)  urls.&nbsp; Even simple things like downloading files from relative locations, etc.  Is there no hope that this could work?  

Altho, honestly, not quite sure I'll even be able to get the interactivity to work in the first damned place, given the limitations. I can't make a webpage to place inside a Typeform, so that means (maybe) hosting the video and the Smartplayer on my own site, I guess.  IF that will work inside the Typeform.  But my materials are a wide variety of different media, as I said--videos, SmartGuides, ClickGuides (these are screenshots of processes, for very non-tecchie users, that show how to do something, click-by-click, literally, in PDF format), and so on.  The only way I can see that working somewhat efficiently is in a large interlinked TF system.  

Well, if anyone comes up with an answer, I'd love to know if local, or any, non-HTTP type linking can be done without some spider's web of redirects (security issues, anyone, for folks with some older browsers and security software?), etc.

Hitch
Photo of Kimberly A Hitchens

Kimberly A Hitchens

  • 12 Posts
  • 4 Reply Likes
@Rick Stone:  I see that your line of work is setting up these RoboHelp sites/subdomains/etc.  Are they actually "hard" to do?  I mean...it kind of looks like a large database, essentially.  Is it tricky, or is it simply that most companies have OPM, and so, they pay you to do that?

Second question--where'd you get the cool homepage graphic, please?  (insert cheesy grin emoty here.)

Hitch
Photo of Rick Stone

Rick Stone

  • 4488 Posts
  • 2000 Reply Likes
Hello again

I've used RoboHelp for more than 20 years. TechSmith actually used to use it themselves for creating the help systems that shipped with their Camtasia and SnagIt products.

Essentially, it is kind of a database. You create HTML pages using the RoboHelp UI. It's a lot like using Microsoft Word. So it's pretty simple.

While I have actually contracted with folks to create stuff for them, mostly I have trained other folks on how to use the application after they have acquired it and realize they can use some training.

I just find it to be a really attractive option for creating and delivering systems that allow you to nicely organize all manner of content. And a mass of Camtasia videos seems to fit that bill nicely. ;)

When I cut my teeth on it I was working in a technical call center and needed an easy way to organize a massive amount of information. 

As for the opening graphic, I synthesized it using several different images and a combination of SnagIt and PowerPoint.

I'd be happy to discuss anything you want offline. Just shoot me an email to rickstone1975 (at) gmail (dot) com. Not trying to sell you on anything at all. Just hoping to be a helpful resource.

Cheers... Rick :)
Photo of Kimberly A Hitchens

Kimberly A Hitchens

  • 12 Posts
  • 4 Reply Likes
Hi, Rick:  FYI, I emailed you yesterday. If you don't see that sometime soon, would you let me know by reverting here? TY.
Photo of Rick Stone

Rick Stone

  • 4488 Posts
  • 2000 Reply Likes
Hi Kimberly

Apologies. I obviously haven't yet seen an email. For one thing, yesterday was really nice weather wise where I live (kansas city, mo) and I was working on stripping a table and preparing to re-finish it. So I was hit or miss as far as keeping tabs on email. (I deal with anywhere from 300-500 messages a day. I've got sorting going on, but I occasionally miss some even when I'm watching for them!

I suppose it's also possible that you tried clicking the link on my contact page of the site you saw. And if so, it's possible that you had the old version of it up. I noticed a glaring mistake the other day and I've since corrected it. Somehow I had not included the digit 1 in my email address of RickStone1975 and it was pointed to RickStone975. Apologies if that's what happened to you.

Perhaps try again and I'll make a concerted effort to watch. I wasn't watching too closely for anything from you because it's been my experience that folks are very suspicious when I offer to contact as they feel I'm just going to try and sell them something they don't want. LOL

Cheers... Rick :)
Photo of Kimberly A Hitchens

Kimberly A Hitchens

  • 12 Posts
  • 4 Reply Likes
Hi:

sorry, wasn't complaining--just wanted to make sure that it had arrived at your end. For some reason, I thought perhaps it hadn't.  I'll re-send, thank you. FWIW, in the interim,  I'm about to install the 30-day free trial of ARH.

ETA:  The freaking nightmare of installation is almost enough to put me off.  AKAMAI installer?  And if you don't put the freaking executable, and the 7z, on the DESKTOP, it won't start installation?  Who puts 4gigs of program on their desktop?  

GRRRRRRRRRRRRRRRRRRRRRRRR.
(Edited)