If you are playing long videos – like more than 20 minutes or so – using xmoov.php then you may notice a small problem, such as the videos not playing. If so then the solution is very simple. You just need to increase the amount of memory that PHP can access.
I’m using WAMP and by default the PHP.ini file gives it 128MB to work with. I upped that to 1028MB and now I can play videos that are in the 90 minute range.
In WAMP you can change the memory limit by opening the PHP.ini file – locate it by clicking on the WAMP server icon in the system tray -> PHP -> php.ini.
Now search for “memory_limit”. Change the max amount of memory a script my consume and you should be good to go.
Addendum
In the comments below a user – Mike – suggested that the problem lies with the last line of code in the xmoov.php file.
While at 360Flex I broke out the FlipCam and recorded a few interviews. Here’s the first with Jeffry Houser. He runs a consulting firm DotComIt, he’s the co-host of TheFlexShow.com, a podcast he does with John Wilker and he’s also editor-n-chief of TheFlexAuthority magazine.
Chalk it up to my interviewing inexperience but I totally blew over asking him to talk more about Flextras. Look for more from Jeffry on that subject shortly.
It’s also worth noting that Jeffry’s presentation at 360Flex on creating Flex components was the best presentation that I attended. He did a great job of covering the process of creating components and not just diving in deep into a perfect component right off the bat.
You ever wonder why Deepa never seems to get any work done? Well, now you know. :-)
Hey Matt, let’s do lunch.
I turned off the FlipCam too early. After the video ends Mark Anders comes back to the podium and says something like, “I don’t know what to do now. I really thought she was going to show us some Thermo stuff.”
Sweet news: The Flex team has been working with the Degrafa team to bring the two together for Flex4. Here’s Juan Sanchez and Tom Gonzalez talking about what we can expect.
Justin Everett-Church showed off some cool visuals of the new features in the Flash Player 10 – Astro. We get to see some PixelBender, the new text layout examples, and a big hand for 3D ,or 2.5D but still amazing.
About polyGeek Birthplace: Bisbee, AZ - 1967 Measurements: 3 monitor, Intel Core i7-860 2.80GHz, 8GB RAM ( ooo-la-la ) Ambitions: Make enough money to retire to Mars and have fun doing it. Turn-ons: BitmapData, Generative Art, non-linear dynamics, working on personal projects Turnoffs: Closed minded, closed systems such as Apple/Steve Jobs Hobbies: Writing sci-fi, long walks Favorite Authors: Douglas Adams, A.C. Clark, Azimov, J.R.R. Tolkien Favorite Musicians: Peter Gabriel, Hans Zimmer, Pink Floyd, Massive Attack Favorite TV Shows: Star Trek.*, FireFly, Farscape