> I am using player plugin [1] and it works great offline. I simply keep
> files to be played in the same folder as tiddly.
> However, the player won't play when tiddly is viewed over http.
> I uploaded the entire folder and it finds the file, but it won't play
> it.

The <<player>> macro doesn't actually do ANY of the work of loading
the URL you provide.  It simply embeds a player (winmedia, real,
quicktime, or flash), and then leaves it up to the player itself to
retrieve and load the media content.

In your case, you are providing the macro with a soruce URL using a
simple filename, "file.mp3".  Unfortunately, it seems that the player
you are using (winmedia?) doesn't correctly resolve a *relative* file
reference when viewed online.  I suspect that, because the URL is not
fully-qualified (i.e., includes the "http:" protocol prefix), the
plugin is still attempting to open a *local* file.

Of course, you could fix this by using an http://... URL, but then you
couldn't play a *local* file when offline, since it would always point
at the online resource.

Fortunately, there is a solution:
   http://www.TiddlyTools.com/#AttachFilePlugin
   http://www.TiddlyTools.com/#AttachFilePluginInfo
   http://www.TiddlyTools.com/#AttachFilePluginFormatters

With AttachFilePlugin, you can create 'attachment tiddlers' that
define 'virtualized' file references for local *and* remote
locations.  You can then use the attachment tiddler name in place of
the filename in the <<player>> macro.  When viewed via http:, the
attachment-defined remote URL location is used...  when viewed
locally, the local file location is used.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
----------
Was this answer useful? If so, please help support TiddlyTools:

   TiddlyTools direct contributions: (paypal)
      http://www.TiddlyTools.com/#Donate
   UnaMesa tax-deductible contributions:
      http://about.unamesa.org/Participate (paypal)
   TiddlyWiki consulting:
      http://www.TiddlyTools.com/#ELSDesignStudios
      http://www.TiddlyTools.com/#Contact

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to