AFAIK "player.swf" just takes a file link. It doesn't ask for byte ranges. This on the edge of my knowledge of Flash though, I haven't done any work with live video streaming, and I'm working from the Python API.
I just double checked and IE8 indeed falls through to the Flash player for my examples. If you send me your email address I can give you a link to a simple example page. John [email protected] On Nov 8, 11:18 am, Mark <[email protected]> wrote: > @John, thanks for the link, I believe I'm using the same techniques I > picked up from another writeup: > > http://henriksjokvist.net/archive/2009/2/using-the-html5-video-tag-wi... > > The html5 video tag is working for me, it's just the flash player > isn't. When you are using the flash player, do you see your servlet > get requested for any byte ranges, or any other hints as to what > portion of the blob to fetch? For example, this is what my video get > servlet looks like: > > public void doGet(HttpServletRequest req, HttpServletResponse resp) > throws IOException > { > String vid = req.getParameter("vid"); > try { > Video video = > PMF.get().getPersistenceManager().getObjectById(Video.class, vid); > BlobstoreService blobstoreService = > BlobstoreServiceFactory.getBlobstoreService(); > ByteRange br = blobstoreService.getByteRange(req); > if (br != null) { > // Works fine with <video> tag. > blobstoreService.serve(video.getBlobKey(), resp); > } > else { > // Flash player never seems to request any data. I can try > forcing some down: > blobstoreService.serve(video.getBlobKey(), new ByteRange(0, 0 > + 1024 * 256), resp); > } > } > > So I can force some info down (horrible idea) and I'll at least see a > few frames render in the flash player, but that's the best I can get. > The player won't play any content. > > I'll check out the link you posted which seems to do a more thorough > job than what I was referencing. I'm just curious to know if you > really got the flash player pulling or just the <video> tag? > > Thanks > > On Nov 8, 1:13 pm, Stephen Johnson <[email protected]> wrote: > > > > > > > > > Have you tried using FlowPlayer? > > > On Mon, Nov 8, 2010 at 8:42 AM, Mark <[email protected]> wrote: > > > Hi, > > > > I'm doing some work with the blobstore and videos. I've gotten it to > > > work (was pretty easy) when using the <video> tag, something like: > > > > <video controls> > > > <source src="url-to-my-blobstore-video" type="video/mp4" /> > > > </video> > > > > Some browsers support the video tag, and my servlet which serves the > > > videos sees byte ranges specified from the client browser. > > > > Because not all browsers support the <video> tag, I was wondering if > > > it is wiser to switch to a flash video player instead. When I try > > > that, the flash player does not present any requested byte range to > > > the servlet. It seems that the flash player just doesn't support that, > > > and I was recommended to use progressive download or RTMP - but I > > > don't know if app engine supports either of those. > > > > Has anyone else got streaming with flash working from the blobstore? > > > Would be fine going with the <video> tag but not sure if it's really > > > well supported yet, > > > > Thanks > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Google App Engine" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine%2Bunsubscrib > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en. -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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/google-appengine?hl=en.
