Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Component/s: docs.moodle.org
    • Labels:
      None
    • Rank:
      25905

      Description

      As requested in the dev chat http://moodle.org/mod/cvsadmin/view.php?conversationid=6219#c242771

      A filter similar to the one we have in Moodle would be great! I came across http://www.mediawiki.org/wiki/Category:YouTube_extensions but I expect our filters expert will create a filter from nothing.

        Activity

        Helen Foster created issue -
        Hide
        Eloy Lafuente (stronk7) added a comment -

        I've added to test wiki the MediaWiki Player, that seems stable / maintained and uses the JW Player (very complete supporting playlists, html video, streaming, playlists, youtube sources, customizations...).

        Also I've hacked a bit the extension in order to get one link to the video source if it's one http url.

        Working on test, example @ http://docs.moodle.org/test/About_Moodle

        More links:

        Please, test and if nobody is against that I'll put it into production. Ciao

        Show
        Eloy Lafuente (stronk7) added a comment - I've added to test wiki the MediaWiki Player, that seems stable / maintained and uses the JW Player (very complete supporting playlists, html video, streaming, playlists, youtube sources, customizations...). Also I've hacked a bit the extension in order to get one link to the video source if it's one http url. Working on test, example @ http://docs.moodle.org/test/About_Moodle More links: MediaWiki Player extension: http://www.mediawiki.org/wiki/Extension:MediawikiPlayer JW Player: http://www.longtailvideo.com/players/jw-flv-player/ Please, test and if nobody is against that I'll put it into production. Ciao
        Hide
        Helen Foster added a comment -

        Thanks a lot Eloy, it looks great!

        I tried adding http://www.youtube.com/watch?v=G6vjgfMae8U to http://docs.moodle.org/test/Teacher_documentation and found the displayed size quite a bit smaller than in YouTube (width=640 height=385). Just wondering what the default display size is?

        Also, I noticed that the initial view of the video (before pressing the play button) is not the same as when viewed in YouTube http://www.youtube.com/watch?v=G6vjgfMae8U Can anything be done about this?

        Show
        Helen Foster added a comment - Thanks a lot Eloy, it looks great! I tried adding http://www.youtube.com/watch?v=G6vjgfMae8U to http://docs.moodle.org/test/Teacher_documentation and found the displayed size quite a bit smaller than in YouTube (width=640 height=385). Just wondering what the default display size is? Also, I noticed that the initial view of the video (before pressing the play button) is not the same as when viewed in YouTube http://www.youtube.com/watch?v=G6vjgfMae8U Can anything be done about this?
        Hide
        Eloy Lafuente (stronk7) added a comment - - edited

        About default dimensions, I've changed them to 520*390. That is the "safe" maximum we can set for one video to be shown in one page having one block on the right. Note that you can manually specify the desired dimensions for a given video by using the height/width attributes in the mediaplayer tag.

        About the initial view of video, no, we cannot make it to be the same than the one used by youtube. Note that the filter is a general purpose filter (not only supporting youtube but virtually any video, so it doesn't use the same visualization/controller than the youtube one). I guess there is some way to specify one image to be shown before playing but I don't think it will be worth the effort to create it and add to every mediaplayer tag.

        Ciao

        About default dimensions, I've changed them to 520*390. That is the "safe" maximum we can set for one video to be shown in one page having one block on the right. Note that you can manually specify the desired dimensions for a given video by using the height/width attributes in the mediaplayer tag.

        About the initial view of video, no, we cannot make it to be the same than the one used by youtube. Note that the filter is a general purpose filter (not only supporting youtube but virtually any video, so it doesn't use the same visualization/controller than the youtube one). I guess there is some way to specify one image to be shown before playing but I don't think it will be worth the effort to create it and add to every mediaplayer tag.

        Ciao

        Edited: Uhm... are you sure that the player isn't showing the SAME preview image? I just went to YouTube and saw that the video you've embedded at teacher documentation shows exactly the same preview image that the one in Youtube (the gradebook).

        Show
        Eloy Lafuente (stronk7) added a comment - - edited About default dimensions, I've changed them to 520*390. That is the "safe" maximum we can set for one video to be shown in one page having one block on the right. Note that you can manually specify the desired dimensions for a given video by using the height/width attributes in the mediaplayer tag. About the initial view of video, no, we cannot make it to be the same than the one used by youtube. Note that the filter is a general purpose filter (not only supporting youtube but virtually any video, so it doesn't use the same visualization/controller than the youtube one). I guess there is some way to specify one image to be shown before playing but I don't think it will be worth the effort to create it and add to every mediaplayer tag. Ciao About default dimensions, I've changed them to 520*390. That is the "safe" maximum we can set for one video to be shown in one page having one block on the right. Note that you can manually specify the desired dimensions for a given video by using the height/width attributes in the mediaplayer tag. About the initial view of video, no, we cannot make it to be the same than the one used by youtube. Note that the filter is a general purpose filter (not only supporting youtube but virtually any video, so it doesn't use the same visualization/controller than the youtube one). I guess there is some way to specify one image to be shown before playing but I don't think it will be worth the effort to create it and add to every mediaplayer tag. Ciao Edited: Uhm... are you sure that the player isn't showing the SAME preview image? I just went to YouTube and saw that the video you've embedded at teacher documentation shows exactly the same preview image that the one in Youtube (the gradebook).
        Hide
        Helen Foster added a comment -

        Perfect, perfect!

        Show
        Helen Foster added a comment - Perfect, perfect!
        Hide
        Eloy Lafuente (stronk7) added a comment -

        Applied to production. Resolving as fixed. Thanks!

        Show
        Eloy Lafuente (stronk7) added a comment - Applied to production. Resolving as fixed. Thanks!
        Eloy Lafuente (stronk7) made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Martin Dougiamas added a comment - - edited

        Just reading back through the comments here ... I see that JW player does more than youtube, which is fine, but do we have a list of these? Does it do Vimeo etc? I guess I'm not too happy it works different to moodle.org ...

        Show
        Martin Dougiamas added a comment - - edited Just reading back through the comments here ... I see that JW player does more than youtube, which is fine, but do we have a list of these? Does it do Vimeo etc? I guess I'm not too happy it works different to moodle.org ...
        Hide
        Eloy Lafuente (stronk7) added a comment - - edited

        Well,

        JW uses pure playlist/url definition standards AFAIK, and that includes fulfilling crossdomain.xml restrictions that Vimeo has enabled on its site (http://vimeo.com/crossdomain.xml)

        So the only way to embed vimeo, afaik, is using iframe tags, and that keeps the control of what to show entirely to them.

        So, if they have those restrictions... I really wouldn't be using them too much.

        About the "tags" to be used within Mediawiki by extensions... it's recommended to use <> since some time ago, to avoid collisions with the [] wiki ones (exactly the opposite that happens to us). Also note I quickly iterated over all the available youtube plugins and all the candidates were using the <> syntax and finally I got this because of the power of JW and the mediawiki plugin itself being stable and maintained.

        Ciao

        PS: Of course, if you want another solution to be applied, just tell (this includes the possibility of hacking the mediawiki extension to handle vimeo videos using iframes or so, though I don't like it at all personally). Also there is this: http://sourceforge.net/projects/jwplayervimeo/ that I haven't tried... or also there are some other plugins requiring registration (key) with Vimeo...)

        Show
        Eloy Lafuente (stronk7) added a comment - - edited Well, JW uses pure playlist/url definition standards AFAIK, and that includes fulfilling crossdomain.xml restrictions that Vimeo has enabled on its site ( http://vimeo.com/crossdomain.xml ) So the only way to embed vimeo, afaik, is using iframe tags, and that keeps the control of what to show entirely to them. So, if they have those restrictions... I really wouldn't be using them too much. About the "tags" to be used within Mediawiki by extensions... it's recommended to use <> since some time ago, to avoid collisions with the [] wiki ones (exactly the opposite that happens to us). Also note I quickly iterated over all the available youtube plugins and all the candidates were using the <> syntax and finally I got this because of the power of JW and the mediawiki plugin itself being stable and maintained. Ciao PS: Of course, if you want another solution to be applied, just tell (this includes the possibility of hacking the mediawiki extension to handle vimeo videos using iframes or so, though I don't like it at all personally). Also there is this: http://sourceforge.net/projects/jwplayervimeo/ that I haven't tried... or also there are some other plugins requiring registration (key) with Vimeo...)
        Hide
        Séverin Terrier added a comment -

        As i said in this discussion http://moodle.org/mod/forum/discuss.php?d=164596 it would be useful to enable it in non english docs.

        Show
        Séverin Terrier added a comment - As i said in this discussion http://moodle.org/mod/forum/discuss.php?d=164596 it would be useful to enable it in non english docs.
        Hide
        Helen Foster added a comment -

        +1 for enabling the filter for the French Moodle Docs and for any other languages which request it.

        Show
        Helen Foster added a comment - +1 for enabling the filter for the French Moodle Docs and for any other languages which request it.
        Martin Dougiamas made changes -
        Workflow jira [ 40653 ] SITES Full Workflow [ 126359 ]
        Martin Dougiamas made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development