Subscribe to RSS
get email updates
polyGeek.com
polyGeek.com polyGeek.com

video.Maru

video.Maru has it’s own site now: videoMaru.com. All the documentation has moved over there.

Post to Twitter Post to Delicious Post to Facebook Post to Reddit Post to StumbleUpon


94 Responses to “video.Maru”


comment number 1 by: girlGeek

That’s incredible. How do you think of these things?

comment number 2 by: polyGeek

I sort of reverse engineered it. I started with how I would like it to work, in a perfect world, and then figured out a way to make that happen.

comment number 3 by: collis

It is pretty amazing isn’t it! Regular video in Flash is just a little too troublesome!!

comment number 4 by: Tim

This is awsome, well done.


[...] Polygeek has an amazingly easy way to make a custom flash video player. You MUST check it out http://polygeek.com/videomaru/ [...]

comment number 6 by: polyGeek

@Tim, thanks for the link back.

comment number 7 by: RAN

woaw….I just got the flashDen newsletter….with the link.
man thats really great….but the best part is that you give it out for free…
that IS amazing.
thank you very much.

comment number 8 by: polyGeek

@RAN, What? You mean you would have paid for this? FRAK. I should have charged for it. Hold on while I got set up a PayPal account. :-)

Really, thanks. I hope it comes in handy.

comment number 9 by: Dave

Hi, I’m really love the concept behind this movieclip. One question: Is there any way to dynamically add .flvs through actionscript? I tried attaching the videoWindow to the stage and then assigning the flv path, and while the playhead works, the video does not display.

Thanks!

comment number 10 by: polyGeek

@Dave, I believe there is a solution for you. It’s something that I’ve been meaning to add to the documentation and just forgot about it.

Try this:

1-Download the latest version: 1.4b
2-you have to give the SWC an instance name, like say poly
3-once you have everything set up the way you want you need to run this:

poly.setVideoWindow(vid);

the parameter vid is a reference to the MovieClip that will become the videoWindow. That will set the videoWindow as needed and reinitialize everything.

Let me know how this works.

comment number 11 by: Dave

Thanks for the quick reply. Unfortunately, I’m still getting the same results. I downloaded 1.4b, assigned the compiled clip’s instance name to poly, and then have this code:

var vid:MovieClip = attachMovie(“videoWindow”, “flvs/sky.flv”, 1);
poly.setVideoWindow(vid);

comment number 12 by: Dave

Oops. I changed the depth to 3 and it now works. Thanks!

comment number 13 by: polyGeek

I’m glad that worked for you. In general when you’re attaching or creatingEmptyMovieClips you should set the depth dynamically with getNextHighestDepth().

In your case the code would be:

1
2
var vid:MovieClip = this.attachMovie("videoWindow", "flvs/sky.flv", this.getNextHeighestDepth());
poly.setVideoWindow(vid);

comment number 14 by: Dave

What’s funny is that I had used getNextHighestDepth originally and that’s what wasn’t displaying the video. It plays, but there isn’t any display.

comment number 15 by: polyGeek

Ah, well that would have been my fault. Originally this started out as a prototype and – sigh – I used static depths here and there. I never replaced them with getNextHighestDepth. I took care of that yesterday so this shouldn’t happen again.

In your case you used getNextHighestDepth which was probably 0. Then I went and stomped on that with my code in video.Maru.

I have whipped myself 20 times with a lash for such unforgivable coding. :-)

comment number 16 by: Art?!

Hello!
I have a problem..
In Flash CS3 you cannot type in a instance name this: xml.flv because “.” is not valid,,
What to do?

comment number 17 by: polyGeek

@Art, I feel your pain and I’ve updated video.Maru to fix the Flash 9/CS3 changes to the IDE. Here’s a link to the new documentation and download for video.Maru 2.0 alpha.

comment number 18 by: Art

Hello polyGeek! It works great now :) thank you for the realy fast fix :D

comment number 19 by: Taylor

Hi I made a player so people can embed it on there myspace pages but it only works when its on myserver. Is it set up like that or am I missing somthing?

comment number 20 by: polyGeek

@Taylor, At a glance it sounds like an issue with the path to the video. Are you using something like: http$myDomain.com$videos$myVid.flv

I have done some testing before and never had any sandbox issues with loading a SWF from one domain that loaded an FLV from another. So I’m pretty sure that isn’t the problem.

comment number 21 by: Shane

Hi! Sorry, i was emailing you directly instead of posting here. I read thru your 2.0 documentation and the “dashes” don’t seem to work in an instance name, and you still have “.” in your filename in your examples, “.flv” but you should leave it out completely, in Art’s example “xmlflv” would work. i’m dying to get this to work in CS3!

SBS

comment number 22 by: Havoc

You should make a mp3Maru. Flash mp3 players are pretty easy to make, but still, would be awesome.

comment number 23 by: polyGeek

@Havoc, You’re right. I should. I’ll put it on my 2Do list – currently at item 65. :-(

comment number 24 by: Marc

polyGeek, great “plug-in”. I noticed today that when you grab the playhead and release, it begins playing. But the state of the play button does not go to the “pause” state.

comment number 25 by: polyGeek

@Marc, good eye. Another user pointed that out to me as well and I’ve fixed it for video.Maru 2.0 which will be available June 20th.

comment number 26 by: Bryan

Video Maru is amazing… really nice work. 1 question regarding the new 2.0 release, I thought I saw someone mention full browser capabilities for this new 2.0 version? I didn’t see it in the documentation videos… did i miss it? How would I use this feature if it is available?

comment number 27 by: polyGeek

@Bryan, at this point I can neither confirm or deny that fullscreen is a feature in video.Maru 2.0. You’ll have to wait until next week to see.

comment number 28 by: Tony

The latest version (v2) seems to be saved in CS3 format. Should it be back to flash 8 format to allow it to work for that too? i have converted it back myself ant it seems to work, partially but the playhead does not move along the timeline correctly.
Is the new version compatible with flash 8 ? (the computer at work only have f8 my laptop has cs3)

comment number 29 by: Tony

i have figured out that it does work in f8, it is just that i was trying to have a play button and a pause button, that are both on screen at once, not a toggle action of play&pause button. This seems to break the player. Before everyone tells me about usability, that is the design i’ve been given! geesh

comment number 30 by: polyGeek

@Tony, Thanks for pointing out that I saved the FLAs in CS3 format. It’s all fixxy now.

So, the pause_btn and play_btn cannot co-exist. That’s a problem but there is a solution. I updated the API, just now so go get a fresh copy of the SWC.

You’ll have to create your own play and pause buttons. Pop over to the API page for the details.

comment number 31 by: Benito

Hi there. First of all, thank you so much for video.Maru. I’m a big fan :) I also have a question. Is it possible to toggle the sound off & on through the API? Tnx a million.

comment number 32 by: polyGeek

@Benito, Thanks for the suggestion. I’ll get right on that. Plus I just created a page for suggested updates and bugs.

comment number 33 by: Ben

Is it possible to show the amount of video that has been buffered/downloaded?

comment number 34 by: P

http://www.peabee.com

No comparison

comment number 35 by: polyGeek

@Ben, yes, very easy. Either use a downloadProgress bar MovieClip or the downloadPercent TextField.

comment number 36 by: polyGeek

@P, no comparison? To what? video.Maru isn’t about ‘a’ video interface. It’s about all video interfaces. It’s about bringing the functionality to a design – whatever that might be.

That being said, “nice video interface” you designed on your site.

comment number 37 by: Orville Chomer

polyGeek, just left a post on my blog for you to look at.

Are you running a wordpress copy on a web host?

I noticed the DIV tag on my old site where the content resides id=”main” which resides in a DIV id=”text”

On your site, I see a DIV id=”content”

Must be a different version! :)

comment number 38 by: Orville Chomer

polyGeek, Found at least one problem in your HTML:

video.Maru

This line (line 518), is missing the closing tag.

comment number 39 by: Ben

Thanks for the answer. poly. Just to confirm, this is not usable when publishing for FP9/AS3, correct? Need any help porting it?

comment number 40 by: Orville Chomer

Weird!

Site looks screwed up in IE, but works fine in Firefox. :P

comment number 41 by: Shawn

Hi noob here! how do I install this cant seem to find it anywhere…

comment number 42 by: polyGeek

@Orville, Thanks a heap for all your help with the HTML. Wordpress has left a bunch of -li- and -ul- tags hanging. I’ll see if there is anything I can do about that.

I hope you find video.Maru useful because I owe you one for your assistance.

comment number 43 by: polyGeek

@Shawn, The download links are at the top of every page in the video.Maru nav. You can download the tutorial files or just the SWC.

comment number 44 by: Orville Chomer

@polyGeek, the page is still coming up with blank content in IE (Sorry).

The problem MAY be a missing TR tag.
If you View Source, select All, Copy, and then
paste into an editor where you can go to a line number, the line is now: 480.

Look at the end of the line.
There is a closing TD tag
There is NO closing TR tag
And then there is the closing TABLE tab.

I tried pasting the HTML for the code in a post before, but wordpress didn’t like it!

comment number 45 by: polyGeek

@Orville, I’ll bet that’s it. I added the TR tag. Where do I send the check?

comment number 46 by: Ben

AS3?

comment number 47 by: polyGeek

@Ben, nope. video.Maru is written in good ol’ Actionscript 2. Sorry.

I plan on releasing one more major update to video.Maru in a few months. After that I’m going to release the code to open source. Hopefully someone out there will convert it to AS3.

You interested?

comment number 48 by: Dexter's Lab

I am a real newbie….how do I get videoMaru_2_SWC.fla into my main.fla.

comment number 49 by: polyGeek

Dexter, Good question. You don’t need the FLA. You just need the SWC itself. Open the videoMaru_2_SWC.fla file and right click on the videoMaru graphic you see on the stage. Then select “copy”. Now go into your main.fla and paste the SWC. That should do it. From there just watch the videos. They give pretty detailed walkthroughs of just about everything. And feel free to comment here if you have any other questions.

Good luck.

comment number 50 by: Dexter's Lab

I am building a website along the Flash time-line. When I drop the video.Maru SWC on the stage and click on the button for the frame with the videos I get “256 levels of recursion were exceeded in one action list.
This is probably an infinite loop.
Further execution of actions has been disabled in this movie.” What am I doing wrong…I follow the basic tutorial to the letter.

comment number 51 by: polyGeek

@Dexter, I would need to see your FLA to be able to tell you what’s going wrong. Can you send it to me and I’ll take a look?

comment number 52 by: Eric Salvi

Hey again… I just found a problem and don’t know how to go around it.

I have a content_MC with 2 page labels first one home second video.

I load home first and then click on the video menu button and load the (content.gotoAndStop(“video”);) but then if I want to go back home the blank videoWindow still stays up. Is there a way around this?

I tried

home.onPress yadda yadda yadda
videoWindow._visible = false; but that doesn’t work.

Thanks

Eric

comment number 53 by: polyGeek

@Eric, I sent you an email with an attachment of what I think you’re looking for. Let me know how it works out.

comment number 54 by: Shane

Hey there!

I’m having trouble using direct links i.e. “http://….” the URL just shows up in the output window but no video…

ideas?

SBS

comment number 55 by: polyGeek

@Shane, the video.Maru SWC isn’t seeing the videoWindow. First, make sure that the videoWindow is properly named. Second, make sure the SWC is on the same level or a parent level of the videoWindow.

If that doesn’t solve the problem then you can send me the FLA and I’ll take a look for you.

comment number 56 by: Benito

Hi there,

I just finished a website on which I use some features of the video.Maru component. Have a look if you like: http://www.maedy.com

Thanks again for this wonderful component!

Greetz,
Benito

comment number 57 by: polyGeek

@Benito, that is awesome work! Thank you for sharing.

comment number 58 by: Luis Neng

Great work polygeek! :)
I’m sure soon there will be a lot of Flash sites using video.Maru

comment number 59 by: Jay

i use this component on every site i build,

http://www.modern-english.co.uk/sci
http://www.brinkmanband.com
http://www.internationalone.co.uk
http://www.modern-english.co.uk/studio

i use it everywhere, i just want to thank you for releasing this and for making it free!!

comment number 60 by: polyGeek

@Jay, You’re welcome. I’m glad video.Maru has helped out. And kudos to you for some sweet looking work on those sites. Keep it comin’.

comment number 61 by: Matt Ronchetti

Howdy again! Thought I’d drop you a line to point you at http://www.transformersmovie.com/

We just added some of the DVD information for the site. This update included adding the Flash trailer and I immediately thought of using video.Maru. It was a tight turnaround and video.Maru definitely helped speed up my development for the simple video player the client needed.

Thanks again, and I’ll be sure to let you know whenever I find a use for video.Maru in the future. Keep up the awesome work!

comment number 62 by: polyGeek

@Matt, dude, that is so totally awesome. ( Excuse me but I can’t help but sound like Keanu there. )

I’ve been meaning to make a page with links to sites using video.Maru for a long time. I’ll be sure to do it now and put yours at the top!

comment number 63 by: mike wasiak

Beauty of a component polygeek, I’ve used it on one site already and will be adding it to another one that is upcoming! Just wanted to say thanks, and ask a quick question: Using a thumbnail menu for videos in the player referenced with xml, is it possible to have the thumbnail item play several seconds of the video as a preview on rollover? Thanks !
m

comment number 64 by: polyGeek

@Mike, I’m not exactly sure what you’re asking for. I’ll email you directly and find out.

And Thanks for the nice words about video.Maru.

comment number 65 by: Lucie

Hi Polygeek,

How would I go about preventing the xml file from being cached? I’ve tried adding a unique identifier to the file name:
xml/video.xml?nocache=” + new Date().getTime().toString());

but then the flvs don’t load.
Is there a workaround?

Thanks in advance.
By the way, here are a couple of sites where I’ve implemented your wonderful component:
http://loupomanti.com/ (“Watch” link)
http://paulreadorchestra.com/

comment number 66 by: polyGeek

@Lucie, cached files are such a pain in the ass!

I added a bit of code to remove query strings from the file path. I’ll send it directly to you because video.Maru is in an intermediary state between versions right now.

And thanks for the links to your work. Great stuff. I’m adding them to the video.Maru rollcall page.

comment number 67 by: Banta67

Hello,
Your work is amazing!

I am wondering, is it me or does the Youtube feeds stop working from time to time?

For the last couple of days when I try to show this off, the YouTube vids don’t load. Url’s to .flv files play fine.

Just wondering if I am doing something wrong or if others are experiencing this also.

Thanks

comment number 68 by: Jason

I know, they arent working for me at all today,

please help i really need this component for the work i do, have they changed the http link for cache.googlevideos etc

please help me!

Jay

comment number 69 by: polyGeek

@Jason, I’ll take a look at the code this weekend and try to figure out what google/youTube are doing.

comment number 70 by: jason

superstar!

thanks

J

comment number 71 by: antonio

Hi, your work is amazing and I’m using it with big satisfaction.
Since I am using very big files, is there a way to preload the video and stop it till loads, say, 30%?
thanx for what you’re doing

comment number 72 by: polyGeek

@Antonio, you can buffer by a number of seconds of video. Check it out at: http://polygeek.com/videomaru/miscellaneous-controls/

comment number 73 by: Enayet

Hi,
I am very new to Flash and was trying to go through the inroductory tutorial on videoMaru. I have downloaded videoMaru_2_SWC.zip. This zip file only contains videoMaru_2_SWC.fla file. If I want to open the fla file on the Flash MX 2004, it says unexpected file format. Is it because of I am using older version of flash mx?

Please advice me how I can run a successful tutorial?

comment number 74 by: polyGeek

@Enayet, no worries. The problem is that the files are saved for Flash 8 and you have Flash 7. I went through and resaved everything in MX format. You should be in good shape now.

video.Maru_2_swc
video.Maru_2_tutorials
video.Maru_3_Mediatron_swc

comment number 75 by: Enayet

Thanks,
I am going to try soon.

comment number 76 by: jps

Hi,
i’ve posted a message on the bug/support forum yesterday and in fact i’ve got the same trouble than dexter on the 19th of july.
but there’s no answer on the forum… So i’m still desesperate ! ;-)

Thks for your help

comment number 77 by: polyGeek

@jps, I’ll email you and help you sort this out.

comment number 78 by: Carlos Allevato

polyGeek

Hi, first of all, excellent work.
Just a question is there a way to cancel the streaming just for saving bandwidth if I’m not using the player.

comment number 79 by: polyGeek

@Carlos, currently there isn’t a way of doing that. But it sounds like a good inclusion for the API. I’ll add it to the ToDo list.

comment number 80 by: Luis

Hola Dan,
How could I add some vars on the videoMaru .fla document so I can display more images instead of only one icon with myVidXML?

comment number 81 by: polyGeek

@Luis, I’ll work on that and write a tutorial soon. Thanks for the suggestion.

comment number 82 by: Thomas

Hi there!!

I’m amazed and amused over this component=)

Is there a way to make the video loop as well??

comment number 83 by: Thomas

No worries mate found it=)

This is the far best discovery I’ve done during my 2 1/2 years with flash!! I’m speechless…

How much time did u spend developing this??

comment number 84 by: polyGeek

@Thomas, video.Maru has grown organically from it’s simple beginnings. I’d guess there’s a couple of months of dev time that I’ve dumped into it.

Thanks for the compliments. I think I’ll add them to my testimonials page.


[...] could have used video.Maru for their video player but it doesn’t look like they did. Oh well, I can dream. [...]


[...] who has already used Flash to deliver video already knows how easy it is. And if they’ve used video.Maru they know how powerful and simple it [...]


[...] wager that no one can create a custom video interface with it as fast as I can with Flash/video.Maru. (Shameless plug but hey, it’s my fraking [...]

comment number 88 by: Joe

great work. i recently stumbled upon video maru. i have a slight problem, the sound will not play. im using flash mx 2004 and found the link to the mx 2004 maru format. Can you help me out please. Thx in advance.

Joe

comment number 89 by: polyGeek

@Joe, Are you sure there isn't anything wrong with the video you are trying to play? No one has ever had problems getting sound before.

comment number 90 by: Joe

that was actually what is wrong with it…. but my other problem is the controls arent working right. the progress bar nor the volume works… thx for the fast reply

comment number 91 by: Joe

quick question… how do i get video maru to forward to another page after the video has finished playing?

comment number 92 by: polygeek

@Joe, take a look here: http://videomaru.com/30_api_api-docs for the setOnVideoComplete(fn:Function). Then just change the page with JS or whatever.

comment number 93 by: Dagur

Hey and thanks for the great work!

Got one question that I can't seem to figure out/find an answer for…

I have an xml loader setup and an xml file with paths to imgs, vids and sound, all mixed up. When for example the next object is requested my as2 check what type of media it is and then passes the medias path on, in the case of video, to the flvPlayback component. Can I instead somehow pass it to videoMaru to avoid using the flvPlayback component?

Thankful for any help, best!/Dagur

comment number 94 by: polyGeek

@Dagur, Hummm, I'm not sure about that. I don't know what happens with videoMaru if you try to mix between video and audio. I believe someone else tried that but it wouldn't work. I never anticipated that use-case so I didn't build it in.

   Welcome back (Change)

Leave a Reply

comment feed RSS   subscribe to this comment thread

Recent Posts

   



polyGeek.com

© Copyright 2008 polyGeek.com / Dan Florio, All Rights Reserved Except Where Explicitly Stated
Web Developement Blogs - Blog Catalog Blog Directory
M2 Websites
Local Directory for Los Angeles, CA

Better Tag Cloud