+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: Embed Videos from Media websites (e.g. Bluestring.com)

  1. #1

    Default Embed Videos from Media websites (e.g. Bluestring.com)

    How can I embed a media that is created on a website like www.bluestring.com.
    After creating a video presentation using photos. Site is giving an embed object code, like below:

    <object width="428" height="346"><param name="movie" value="http://public.bluestring.com/players/BlueString-MediaPlayer.swf?p_id=XDPC-0883aInDvOgjCiHt2ch6AuK1avgYWk3F" /><param name="flashVars" value="p_id=XDPC-0883aInDvOgjCiHt2ch6AuK1avgYWk3F"/><param name="wmode" value="transparent" /><embed src="http://public.bluestring.com/players/BlueString-MediaPlayer.swf?p_id=XDPC-0883aInDvOgjCiHt2ch6AuK1avgYWk3F" flashVars="p_id=XDPC-0883aInDvOgjCiHt2ch6AuK1avgYWk3F" wmode="transparent" width="428" height="346"></embed></object>

    How do I embed something like this, in my wiki? Please advice.

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    The following will do the trick:
    Code:
    {{ media("http://public.bluestring.com/players/BlueString-MediaPlayer.swf?p_id=XDPC-0883aInDvOgjCiHt2ch6AuK1avgYWk3F") }}
    I simply too the contentents of ther first value= and used the media extension.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  3. #3

    Default playing own video with flv player

    i'm afraid i know the answer to this but will ask anyway. the media extension documentation example:

    {{ media("http://wiki.opengarden.org/@api/deki/files/1191", 200, 200) }}

    implies that i can upload a file as a page attachment (something.flv) and then use the above syntax to get it to play within the page. when i try this however, i get"click here to load plugin" in firefox. actual html source ends up looking like:

    <embed width="320px" height="240px" hidden="false" src="http://wiki/@api/deki/files/7?autoStart=0" autoplay="False" autostart="False" scale="tofit" wmode="transparent"></embed>

    which isn't enough to actually launch a swf player. by contrast, this:

    {{ media("http://www.youtube.com/watch?v=XxSjNkkqyoo", 200, 200) }}

    causes this html to be generated:

    <span><embed src="http://www.youtube.com/v/XxSjNkkqyoo" type="application/x-shockwave-flash" width="200px" height="200px" hidden="false" wmode="transparent"></embed></span>

    which is enough to show a thumbnail which when clicked, plays the video in place.

    in order to play my own uploaded flv files, i'm guessing that i have to put my own swf/flv player in place to make this happen? would somebody be able to write up the steps necessary to upload a .flv file to a page and then uses the media tag to play it embedded in a page?

    thanks!

  4. #4
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    Try adding the /=something.flv to the end of your attachment URI. That way, the media plugin can detect the extension. Let us know if that works.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  5. #5

    Default

    didn't seem to make a difference unfortunately. wiki page looks like:

    {{ media("http://www.youtube.com/watch?v=XxSjNkkqyoo", 200, 200) }}
    {{ media("http://wiki/@api/deki/files/14/=something.flv", 320, 240) }}

    and html looks like:

    <p><span><embed src="http://www.youtube.com/v/XxSjNkkqyoo" type="application/x-shockwave-flash" width="200px" height="200px" hidden="false" wmode="transparent"></embed></span><br /><span><embed width="320px" height="240px" hidden="false" src="http://wiki/@api/deki/files/14/=something.flv?autoStart=0" autoplay="False" autostart="False" scale="tofit" wmode="transparent"></embed></span><br /></p>

    but doesn't seem to automatically launch any kind of swf/flash based player so i'm guessing there isn't one magically included within dekiwiki.

    firefox says plugin required and that file type that it's trying to find plugin for is application/octet-stream.

    i have a player i can use that i use on a non dekiwiki site, but wouldn't know how to tell the media extension to reference it when trying to display this .flv file.

    that helpful at all?

  6. #6
    Join Date
    Dec 2007
    Posts
    45

    Default probably need to configure the mime type in apache

    Quote Originally Posted by shoeheart View Post
    firefox says plugin required and that file type that it's trying to find plugin for is application/octet-stream.
    I'm not an apache expert and am unsure how to do this myself but this looks like to me that you need to tell apache to use the application/x-shockwave-flash mime type when serving up FLV files from the wiki.

  7. #7
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    shoeheart,

    Can you point to a site that has an embedded player for a .flv file. The 'media()' function is fairly smart and detects various sources to generate the proper <embed> tag. It appears it doesn't yet support .flv files, but that's probably not a big issue to add.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  8. #8

    Default

    i'm new to this myself so there may be more info out there, but what i've done so far is to download the flv player from http://www.jeroenwijering.com/?item=JW_FLV_Player

    that page has a sample video embedded in it and the html looks like:

    <embed type="application/x-shockwave-flash" src="http://www.jeroenwijering.com/upload/flvplayer.swf" id="player" name="player" quality="high" allowfullscreen="true" allowscriptaccess="always" wmode="opaque" flashvars="width=300&amp;height=210&amp;lightcolor =0x335500&amp;file=http://mirror.video.blip.tv/hot-shows.xml&amp;linkfromdisplay=true&amp;callback=an alytics" height="250" width="720">

    it appears that playing flv video requires a swf to be downloaded first, and in the case of this flvplayer, there's even licensing issues (non commercial use only) so not sure there's an easy way for deki to include this one. however, if somebody flash-savvy wrote a player and donated to mindtouch then you could embed that one and make the media extension tag smart enough to allow passing of all variables for geometry, video quality, etc).

    my search for flvplayers has not been exhaustive so there may be a truly Free one floating out there that is high quality and popular and if so i'd love to hear what people have found.

    thanks!
    -jason

  9. #9

    Default

    here's another one that looks promising but that i don't have direct experience with:

    http://www.trenttompkins.com/Downloa...yer-2-RC1.html

    which looks like it requires html of the form:

    <embed src='player2.swf?movie=hurtmovie.flv&amp;bgcolor=0 x0000FF&amp;fgcolor=0xFF0000&amp;volume=100&amp;au toload=on&amp;autorewind=on' width='300' height='200' allowFullScreen='true' type='application/x-shockwave-flash'>

  10. #10

    Default Embed Local Videos

    I'm also having this problem with embedding local Deki Wiki files. I can't get any file type to embed that I'm trying. I've tried MOV and FLV. YouTube works. Used http://wiki.opengarden.org/Deki_Wiki/Extensions/Media to get the MOV embed code and not showing anything. FLV give me the "unknown extension" error as stated above. Has anyone figured this one out? Need it to be as simple as possible to upload a video to the page and embed it for my users.

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts