Hi Mel. No problems with needing to sleep. I am in a completely different timezone to you :)
On Tue, Sep 8, 2009 at 1:38 PM, Mel_the_Snowbird <[email protected]> wrote: > > HI Aran > > > > Here is a test page which works and uses exactly the same old school > > communication methods you are attempting on your page: > http://www.misterhee.com/tests/playstop/test1.html > > Am I using 'old school' methods here ??? I thought I was using the > latest techniques. Wow !! > I consider them old school as they were developed for the Flash player v2 - v5. http://www.adobe.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html The methods still work, so no issues there, but since v8 the preferred method is the ExternalInterface class. This allows two way communication to and from a host page, and you can call any custom defined method in a swf or js method on a page. > > > > > So we know that swfobject / communication methods work just fine. > > > > If I swap to your swf in the same page (only changing the swf), then it > no > > longer works:http://www.misterhee.com/tests/playstop/test2.html > > > > So we can assume that there is something specific with your swf / how it > is > > being delivered. You have a few weirdnesses with your server setup: > > > > 1) your test html page is being delivered through an exe: > http://ww2.mesaeastpark.com:4296/cgi-bin/mep/mepinit.exe. Is this on > > purpose? > > Yes, that is deliberate. I do not use Port 80 because my ISP does > not want home residences to use that port and it limits > transmissions. So, the company zoneedit.com 'changes the port to 4296 > for me. However, if you wish to see my source, simply visit > ww2.mesaeastpark.com:4296 > > Also, since I have expertise in a C-based language (called > xHarbour ) and have been a business app developer for 25 years, I am > using my executable (mepinit.exe) as the CGI program. This program > acts like a PHP server program. My Apache Server sits on my desk > beside me on a local intranet listening to Port 4296. I also have my > development machine on my desk too. Both machines are installed with > XP Pro sp3 software. All of my pages are created and/or delivered by > the executable on the server. Just think of it as a very fast PHP > Server.. > Ok, cool. I just wanted to check. We see some pretty freaky misconfiguration on servers when people are having issues on the list, so always good to do a sanity check. > > > 2) the swf is being delivered over a non standard port of 4296: > http://ww2.mesaeastpark.com:4296/images/baywood.swf > > 3) the swf has no preloader on it. It is 2.5 mb, and it takes 100 seconds > to > > load for me. > > When *I* visit my site from another computer over the internet > (i.e., a laptop also near me),it takes a maximum of two seconds ! > This includes the round trip to the zoneedit.com computer, and a > translation to ww2.mesaeastpark.com:4296, then the long return trip > back to my server. > Well, I am having to hop over the pacific etc (and my work connection can be slow sometimes), but personally I think that any file > a couple 100kb should have a preloader to let users how something is going on. By using a preloader, you can guarantee that the file is fully available before allowing users to call methods on it. > > > > So to test, why don't you grab my source: > http://www.misterhee.com/tests/playstop/swfobject.playstop.zip > > > > O.K., I'll try to do that -- tonite or tomorrow morning. > Yeah, just a super simple test to show that I am not doing anything tricky to get it to work. > > > and deploy to your sever to see if you can get a known working setup > > happening. Unfortunately, since I have shown that it is not a swfobject > > related issue, I am not sure how much more help we can be on the list. > > > > I would actually recommend that you have a look at splitting the video > out > > as an FLV and use a standard flash based video player to contol / display > > the progress of the video. There are built in components in Flash, or > there > > are free players like flow player or JW media player which can playback > FLVs > > and take care of preloading / buffering / play controls for you. > > > > I don't understand the above ??? and I don't really want to 'throw > the baby out with the bath water' if I'm close to a solution. If not, > I may have too :(( > Generally speaking, the recommended way to deliver Flash based video is to encode the footage as an FLV / .mp4 and then load the encoded file into another swf which has the controls and loading logic. This is how all of the major video sites like Youtube, Hulu, Vimeo etc deliver their videos. By bundling the video inside of the swf, it can lead to syncing issues, and having to load a larger portion of the file before being able to display the video etc. You are also limited by the length of video you can embed in a swf. The players I recommended are already pre-coded and have javascript API's which can be called from the page if desired. You just have to encode your video from avi to flv. You can then embed the player swf and point to your video file through a parameter. Anyhow, it is just an option. You don't HAVE to do it this way. > > > btw, I'm trying to use all the latest stuff from swfobjec 2.2 > That's fine. You are doing all you need to as far as swfobject is concerned using the registerObject() and getObjectById() methods. > > Can you see the complete code I'm using when you view the source. > If you can't, I should re-post the .htm file perhaps ?? > > Re-capping, I show the clip easily, I 'click' on the stop button -- > > I enter the JS videostop(), I show an alert() , I execute the > stopplay() function, but the darn video keeps on going :((( > > Thanks for the quick response. (I see its nearly bedtime, so I may > have to stop for 8-10 hours. > > -Mel Smith > Looking at your later email, I am glad to see that at least we can reproduce the "working" test case. I am not so sure whether it is the converter or not, but there are plenty of other converters to try. Sorenson Squeeze is what a lot of people use. They have a 30 day trial, but I am unsure if it has watermarks in the output or not: http://www.sorensonmedia.com/flash-video-encoding/ On2 also have a product (they make the VP6 video codec used in flash player 8+) http://www.on2.com/index.php?387 Sothink also make one: http://www.sothinkmedia.com/flash-video-encoder/ If you decide to go sown the FLV route, there are a number of free commandline (ffmpeg) , online (http://flvencoder.com/) and GUI based products which will convert to .flv format. Cheers, Aran > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "SWFObject" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/swfobject?hl=en -~----------~----~----~----~------~----~------~--~---
