YUI Media Player is a javascript/flash application which recognizes all links to mp3 files in your web page and embeds a player into the page.

Vendor
MindTouch
Type Script
Categories Media
Requires MindTouch Deki 1.8.3 or later
Status Stable
License Free/Open Source
Manifest http://scripts.mindtouch.com/yuimediaplayer.xml

 

Table of Contents

See also How to add a script, Using the Extension Dialog, Learn about DekiScript, Extensions Directory.


Functions

yui.mediaplayer() : xml

Embed YUI media player


Script Source

<extension>
  <title>YUI Media Player</title>
  <label>YUI Media Player</label>
  <uri.help>http://wiki.developer.mindtouch.com/MindTouch_Deki/Extensions/YUI_Media_Player</uri.help>
  <namespace>yui</namespace>
  
  <function>
    <name>mediaplayer</name>
    <description>Embed YUI media player</description>
    <return>
      <html>
        <head>
          <script type="text/javascript" src="http://mediaplayer.yahoo.com/js" />
        </head>
      </html>
    </return>
  </function>
</extension>

 

Tag page

Files 1

FileSizeDateAttached by 
 yui test.mp3
No description
19.42 kB17:30, 17 Jul 2008coreygActions
Viewing 3 of 3 comments: view all
This doesn't work. I think the SID value is wrong?
Posted 14:39, 7 Aug 2008
It doesn't work for me neither.

Array
(
[title] => Erreur 500
[message] =>
[response] => Request URI:
http://localhost:8081/deki/site/services/37/start?dream.out.format=php&dream.in.host=10.1.103.242&dream.in.scheme=http&dream.in.origin=10.1.121.229

Réponse du serveur:
Array
(
[exception] => Array
(
[message] => unable to initialize service (invalid extension manifest)
[source] => mindtouch.dream
[stacktrace] => Array
(
[frame] => Array
(
[0] => MindTouch.Dream.DreamService+<CreateServiceAsync_Helper>d__19.MoveNext () [0x00000]
[1] => MindTouch.Dream.Coroutine.Iterate_Helper (IEnumerator`1 coroutine, MindTouch.Dream.TaskBehavior behavior) [0x00000]
[2] => System.VoidClosure`2[System.Collections.Generic.IEnumerator`1[MindTouch.Dream.IYield],MindTouch.Dream.TaskBehavior].Closure () [0x00000]
[3] => MindTouch.Dream.Task.Execute (System.VoidHandler handler, MindTouch.Dream.TaskBehavior behavior) [0x00000]
)

)

[type] => System.Exception
)

)

) edited 06:46, 9 Oct 2008
Posted 06:45, 9 Oct 2008
Works fine here.
Posted 13:37, 9 Oct 2008
Viewing 3 of 3 comments: view all
You must login to post a comment.