Cheers John I shall try this out.

On Mar 20, 5:59 am, jkramlich <[EMAIL PROTECTED]> wrote:
> I have had great success with dynamically embedding the video embed
> tag via JavaScript.  Create a button that when clicked will be
> replaced with the embed tag of the appropriate video.  This speeds up
> application performance significantly and will get rid of the pesky QT
> embed tags floating over your other content and not moving at the same
> speed as it's containing DIV.  This also prevents a bug in which
> Safari crashes if you have too many embed tags present (3+ seems like
> the magic number).
>
> Once the embed tag is no longer needed; like just before the outgoing
> animation, remove it again and replace it with something else.
>
> The only drawback to this method is that users have to tap the button
> once, then tap it again once the embed tag shows up.  All of our users
> have found this method intuitive enough so it's not that big of a
> concern.
>
> - John
>
> On Mar 19, 8:43 am, ShogoDoddo <[EMAIL PROTECTED]> wrote:
>
> > Hi guys and gals,
>
> > I'm developing a iphone/touch webapp that displays news stories.  One
> > type of story I support is news accompanied by an embedded quicktime
> > move.  My app simulates fly-in when each story is selected from a next/
> > prev picker.
>
> > Here is my problem and I hope someone can suggest what I'm doing
> > wrong ...
> > 1) This is happening on both Safari for Windows and Safari for Touch
> > (thats all I have tested so far).
> > 2) When the div containing the story and QT fly in, the QT moves at a
> > different rate, and also stalls sometimes the animation.
>
> > Here is a sample of the div construct : -
> > <div id=abc style="display: block; position: absolute; left 0%">
> > <ul>
> >     <li>
> >         <span class=newsitem> News Title here </span>
> >     </li>
> >     <li>
> >         <span class="newsstory">
> >             <table>
> >                 <tbody>
> >                     <tr valign="top">
> >                         <td>
> >                             <embed src=thumbnail.jpg href=movie.m4v
> > height=96 width=96 type="video/x-m4v" target="myself" scale=1>
> >                         </td>
> >                         ....
> >            </table>
> >         </span>
> >    </li>
> > </ul>
> > </div>
>
> > 3) one other characteristic is that safari for windows refuses to play
> > this movie type claiming that QT plug in is not present (this is also
> > true of the BBC.CO.UK iphone podcast site but plays other qt movies.
> > The Touch plays this embedded object fine.
>
> > Any ideas would be most appreciated
>
> > Love and Peace
> > Shogo

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" 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/iphonewebdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to