How do you embed a media object - using the media filter?

How do you embed a media object - using the media filter?

Rick Blanc發表於
Number of replies: 27
Can someone please help me to understand how do you place an embedded object using the media filter inside a Moodle document?

The example does not show you how it is done - Wouldn't be nice if we could see how it was actually done, I mean step-by-step?
評比平均分數: -
In reply to Rick Blanc

Re: How do you embed a media object - using the media filter?

Bryan Williams發表於

Rick,

Assuming the Multimedia Plugins are activated in Administration|Configuration|Filters, you simply place a link into HTMLeditor for your resource. Moodle determines what is needed, and diplays the appropriate player. You may also what to include a text link near the resource.

Hope this is helpful,

Bryan

In reply to Bryan Williams

Media link always opens up a new window

Rick Blanc發表於
I do have the media filter active. An I have tried each option for the link / New Window / Same Frame / Self - I do not get the media file embedded. Have you left out the requirements for the file?

When you activate a file through a link - how do you make it embedded? My link to a flash object opens a new window. Yes, the link is embedded but not the medial file.

Again I ask for a step-by-step help from someone. If there is someone who is very knowledgeable in this topic, I would like to invite you to a NetMeeting. After I understand what to do, I will produce a full-motion tutorial with audio.

Shouldn't there be a forum for the media filter? It is such a creative area - why not?
In reply to Rick Blanc

Re: Media link always opens up a new window

Bryan Williams發表於

Step 1: Create a new Assignment in Moodle (How To Argue)
Step 2: In the HTML editor, switch to HTML Source view (<> icon), and paste the following code:

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>How To Argue</title>
</head>

<body bgcolor="#FFEECE">

<p align="center">&nbsp;</p>
<p align="center">
<embed width="550" height="415" src="Please">http://www.remote-learner.net/coursefiles/argonline.swf"><noembed>Please download the latest Flash player!</noembed></p>

</body>

</html>

Step 3: Click Save changes and view the results.

Alternatively, you could just put the text "How To Argue" in the HTML editor, with a link to the Flash file. Moodle would then load it in its default size (small like above). With the above code, you can control the size in which the Flash player exhibits your file. If the source file happened to be say an MP3 file, it would display the Play|Pause controls. Ditto if the file was a QuickTime of Windows Media file, (i.e. the control is displayed within the browser).

Note: in the example above, click the Flash file to advance each slide (created this is OpenOffice).

Step 4: Try not to be so abrasive in the Moodle forums, people really do help each other around here.

Hope this helps you,
Bryan

In reply to Bryan Williams

Re: Media link always opens up a new window

Chardelle Busch發表於
Core developers的相片

Rick,

You can also just upload your flash file to the course files using the files link.  Then add a resource to the course and choose uploaded file, then choose the swf file.  That way you also get the cute flash icon to show it as a flash object resource. 

In reply to Bryan Williams

Re: Media link always opens up a new window

Rick Blanc發表於
Bryan,

You may be able to teach me something.

Can we go over the the remark on item 4 - "Being abrasive." Please show me where I am being abrasive. Are you replying to my asking for a step-by-step instruction on how to do a procedure?



Thank you
In reply to Rick Blanc

Re: Media link always opens up a new window

Don Hinkelman發表於
Particularly helpful Moodlers的相片 Plugin developers的相片
Hi Rick,
Thanks for you comments. Here attached is a step-by-step document I posted a few months back. But actually it may not answer your question--it is for putting embedded audio in a quiz. Hopefully it might apply somehow.

Sometimes it is hard to find instructions posted here and there, Probably we need more volunteers to organize the comments and post in the documentation section. Anyway, I hear a new FAQ system is on the way. So never fear!

Looks like Bryan and Amy got a little upset along the way. 微笑
No problem, you're just a to-the-point, abrasive kind of guy, right. 眨眼

If you really are curious about your comments (I say sheepishly), here are some humble suggestions.... (note: I make the same mistakes)

Mistake 1; I do have the media filter active. An I have tried...
It is better to start out with profuse thank yous. Probably your helping person spent 20-30 minutes answering you when he should have been spending the time with his family or earning money for his family.

Mistake 2; Again I ask for a step-by-step help from someone.
Oh dear! Sounds like you are not satisfied with the answer.angry Yes, it is frustrating, but you might ask like this.. "Sorry, Bryan, I couldn"t get it. Could you give more details...".

Mistake 3; If there is someone who is very knowledgeable in this topic...
This implies Bryan is not knowledgeable. Even if he is incredibly stupid, a few slaps in the face could be replaced with humor, like, "Oops! Thanks, I tried that Bryan, but it didn't work...".

Mistake 4; Shouldn't there be a forum for the media filter? It is such a creative area - why not?
Sounds demanding. Try, "Should we make a forum for ..."  Hey, everyone here is a volunteer... (except me, for every click on the Moodle forums site, I get a dollar from XXXXX--and no, I will not tell you which company or secret governmental organization 眨眼

Mistake 5; Scowling photo glaring down on me...
Get a goofy mug shot up there. I think baseball caps cut through the gruffness. WP likes wild icons and colors. Chardelle, well, she needs no gimmicks 眨眼

評比平均分數:Useful (1)
In reply to Don Hinkelman

Re: Media link always opens up a new window

W Page發表於
Hi Don!

I was not able to open the file in "Open Office".  Could be you are using one of the latest and greatest of the MSN office programs which OO may not be able to open. 

Could you save it in WIN97 or WIN95 (WordPad) format.  I would really like to read it.  PDF format would also be cool as well.

Thanks in advance,

WP1
In reply to Don Hinkelman

Re: Media link always opens up a new window

Rick Blanc發表於
Don,

Yes, I can improve my post, and I will. Post can be made to be more caring and to communicate appreciation for those who help. I do think you have knit picked this thing to death, every element every aspect. If we were to review the thousands of post here, we could go on forever critiquing how one should post. I am happy you qualified yourself as producing similar kinds of postings.

Forum postings are usually fast and to the point with thanking the helping party - I've sent an email to Bryan Williams after he responded to my first post - thanking him for his help. I also ask if he would participate in a NetMeeting so that I may produce a tutorial.

You can read any sentence out loud and breathe into it a tone that can characterize it as grateful or ungrateful. Unfortunately, you have chosen to depict the worse possible scenarios for each sentence. I do not share your interpretation.

In my original post I asked for a step-by-step instruction. In my second posting I started the sentence with Again this, I admit, was poor choice to start a sentence. I was more instructing that I need a step-by-step instruction so that I can make a tutorial. A step-by-step process is needed when you are making a tutorial.

There is another aspect we all must consider when we try to evaluate a post, there are emails and PMs going back and forth regarding the post that is not posted. This is why I asked Bryan to answer my question - if he would help me in evaluating my post. It is more important for me to hear an evaluation from Bryan as I had sent him an email thanking him for his help and asked him to join a private NetMeeting. I will ask him this again in a private message and make any apologies if needed.

 Yes, I can improve my post, and I will.

 

Rick

In reply to Rick Blanc

Re: Media link always opens up a new window

Ger Tielemans發表於

Let's say: you have a direct style wide eyes, I recognise that wink, and it saves a lot of spoiled letters. big grin
Not everyone can cope with that. thoughtful 

I learned black eye one tric cool in ths Moodle forum: use a lot of emoticons clown in your questions and people accept your style. approve

In reply to Bryan Williams

Re: Media link always opens up a new window

W Page發表於
Hi Bryan!

When I used your code I got the assignment due date at the top and some code at the bottom with not flash image in the middle, just white space.

I then removed "Please">" and the script ran fine.  The corrected script is,

<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>How To Argue</title>
</head>

<body bgcolor="#FFEECE">

<p align="center">&nbsp;</p>
<p align="center">
<embed width="550" height="415" src="http://www.remote-learner.net/coursefiles/argonline.swf"><noembed>Please
download the latest Flash player!</noembed></p>

</body>

</html>

I learned something today.

WP1
In reply to W Page

Re: Media link always opens up a new window

Bryan Williams發表於

WP1

This was because Moodle did what it was suppose to do and inserted the Flash object into the posted code. I should have mentioned to ignore this when trying the code, as you discovered. We have to understand what a marvel the HTML editor really is; not Dreamweaver or VisualStudio, but a very complicated and cool program.

In reply to W Page

Re: Media link always opens up a new window

Luca Bagna發表於
Thanks to Bryan for the inspiration approve
and thanks to WP1 for the correction smile
Luca
In reply to Bryan Williams

I guess you can float text around the media frame

Rick Blanc發表於
I have not seen an example but do you know if you can float words around a media frame like words around an image like you would see in newsprint?

Rick
In reply to Rick Blanc

Re: I guess you can float text around the media frame

Matt Riordan發表於

this is a test this is a test this is a test this is a test testthis is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test this is a test

test

test

test test test test test

test test test test test

 

 

In reply to Rick Blanc

Re: I guess you can float text around the media frame

Matt Riordan發表於

Hi Rick,

I added the picture by clicking on the "Insert Image" button in the text box tools (near the smiley face button). I selected "left" alignment, and left everything else blank. I have not tried it extensively to see about more flexible placement.

In reply to Matt Riordan

Re: I guess you can float text around the media frame

W Page發表於
Hi Matt!

To do this I think you need to know the "HTTP" of the image at Moodle.org as a participant. When you are the admin you get a bigger window which allows for uploading an image on the spot and then embedding it into the HTML text area.

I have never been successful embedding an image by uploading it as a user. The image always goes to the bottom of the page unless I know or have the web address of where the image resides at Moodle or somewhere else.

If you know how to do it without having it linked to the image somewhere, please post how you did it. I am sure it will show up clearly outlined in you next updated "Teacher's Manual". smile

WP1
In reply to W Page

Re: I guess you can float text around the media frame

Matt Riordan發表於

Hmmm. I thought that was just a Moodle.org thing to keep size down, but you are right. When I go into my site as a student, I need to link to a webpage image. This needs a little more work. I'll let you know what I find.

In reply to W Page

Re: I guess you can float text around the media frame

Matt Riordan發表於

See what you think - I came up with a method that is a little involoved, but does work when logged in as a student. No FTP required. smile

The document is too big to put here, so you can get if at http://www.cvcaroyals.org/~mriordan/index.htm

Hope it helps!

In reply to Matt Riordan

Re: I guess you can float text around the media frame

Martin Dougiamas發表於
Core developers的相片 Documentation writers的相片 Moodle HQ的相片 Particularly helpful Moodlers的相片 Plugin developers的相片 Testers的相片
Sorry, Matt, but no, this is not a solution (even when it's done twice 眨眼).

The file:/// url is a pointer to the file on your hard disk still (and is not uploaded).

So you will see it fine, but no-one else will. 眨眼

The only solution I know of is to attach the picture to a post.
In reply to Martin Dougiamas

Re: I guess you can float text around the media frame

Matt Riordan發表於

Good point (I had not looked at the actual URL blush ). I just tried it on my site with an attachment of a jpeg, which the showed up as being on the server. I want to play with that and see if the method can be modifies using an attachment first (instead of a cut-and-paste). I'll let you know what I find. Sorry for the mistake!

In reply to Martin Dougiamas

Re: I guess you can float text around the media frame

David Le Blanc發表於
This is were the dms module (development) comes in handy. Learners can upload images to their filespace then view the image online. Here they can grab the URL by right clicking on the image and going to properties.   
In reply to Martin Dougiamas

Re: I guess you can float text around the media frame

Matt Riordan發表於
It is not a workable solution with an attachment either. The attachment does get uploaded to the remote server, so you can grab the URL and insert the image like you would expect (with text wrapping and everything). Everything works great, except you see TWO images - one from the inserted picture and one from the attachment. If you delete the post with the attachment and try to create a new post (I tried), the image goes away (which only makes good file-space sense). So, it is not a good solution. Sounds like David's developmental stuff is the future way to go.
In reply to Rick Blanc

Re: How do you embed a media object - using the media filter?

Matt Riordan發表於

Hi Everyone,

It is not for flash, but I did add a section on adding audio and video in the 1.3 manual (in the appendixes). It can be found here:

http://moodle.org/doc/
It is under the "Other Docs" link, then under "User-contributed documentation."

Hope this helps!