[HTML Only Articles] Using video tag on iOS to autoplay inline videos

Hi There,
There are two situations I'm trying to accomplish, using an only HTML article.
1 - I'm trying to play a .MP4 video inline using the <video> tag. I tried a few different ways of tagging the video (adding autoplay=true, webkit-playsinline), but ultimately on both iPhone and iPad, the video always plays fullscreen in the native browser.
On iPhone, there is also some additional 'weirdness'. When swiping away from the article, the video has a habit of playing as if it was tapped on, opening fullscreen as you enter the next article.
2 - I'd also like this video to auto-play (again, inline would be ideal). I've come across several phonegap examples of why this isn't possible on iOS out of the box unless certain flags are set on the outer WebView component (on the Objective-C level).
I'm relaying on the href="videofile://" and some links to play the video, but I have customer's requesting inline video, or auto played video, neither of which I seem to be able to accomplish.
Has anyone had any success with the html video tag to achieve the two above (or anything else I could use as a workaround (file formats? flags? anything else?))
- Mark

Big thanks for your reply
Really helped me on my long understanding way to upgrade my live chat application to
work with IOS devices.
So lets continue... make this important post to be a good helper for all developers on their way to stream to IOS devices.
If you can I clarify this - Nitin Goel says:
"Remember, that you need to publish video as H264 codec and audio as AAC/HEAAC for it to work with ios player.. Flash player may not yet support this combination.."
It is not possible for me to use Flash Media Live Encoder.
In this article:
http://sonnati.wordpress.com/2011/05/14/a-dream-comes-true-h-264-encoding-into-flash-playe r-11/
it says:
"A dream comes true: H.264 encoding into Flash Player 11"
and its done by this actionscript 3 code:
var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_2);
stream.videoStreamSettings = h264Settings;
which will be connected to the NetStream like this i guess:
var h264Settings:H264VideoStreamSettings = new H264VideoStreamSettings();
h264Settings.setProfileLevel(H264Profile.BASELINE, H264Level.LEVEL_2);
nc = new NetConnection();
nc.connect("rtmp://example.com/livepkgr");
ns = new NetStream(nc);
ns.videoStreamSettings = h264Settings;
ns.publish("livestream?adbe-live-event=liveevent");
Is this what need to be done in order to publish video as H264 from webcam and Flash Player 11 in user browser?
And what about publish audio as AAC/HEAAC?
Another important thing:
I am writing my actionscript 3 code in my flash CS4 and publish it to swf.
With this code obviously it give me error...
do i need to upgrade to CS5 or CS5.5 and then i will be able to publish with this code?
again big thanks for any help
cheinan

Similar Messages

  • Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag?

    Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag in the browser window?

    After a little investigation, I discovered that PNGs also do not render correctly in IE7 in similar circumstances.
    I ended up using Levels in Photoshop to bring the output blacks up to "5", saved the images as PNGs, modified the HTML from .jpg to .png, and that seems to have covered up the problem well enough.
    By the way, I did confirm that IE8 beta 2 renders the images correctly.
    Brian

  • I built a website for a customer using HTML only, so it would work on everything, but some of the text numbers are not clear on the ipad. It works perfectly on all the other browsers.

    I built a website for a customer using HTML only, so it would work on any browser, and it works perfectly on everything except ipad safari. I'm loosing information with most of my text numbers - instead of being black they are displaying a 'ghost' image (white) of the numbers.
    Is this a memory issue, or cache issue, or something else?  I've downloaded iCab and the site works perfectly with it.
    Also wondering if I can manually reload/refresh web pages in iPad Safari.
    Since most people with iPads will use Safari rather than iCab, I have to tweak this site to work in Safari.

    Detecting phone numbers and making them clickable is a feature of the browser, and rebuilding your web-site links will not make any difference. Its done when the page is shown in the browser, not when the page is created.
    According to the Safari iOS developers guide, you can turn these data detectors off using this code:
    <meta name = "format-detection" content = "telephone=no">
    http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Referen ce/Articles/PhoneLinks.html

  • Embeded video using video tag for mobile Applications , Phonegap

    Hey.
    I am trying to get an embeded movie to play when I convert the mobile app to an .apk file.
    I can play the video using the dreamweaver "Live" option , and I can watch a video if it has a http:// URL . however the video wont play when I use a rellitive path such as videos/video.mp4
    The actual html block looks like this :
    <!--Working on mobile device -->
    </video>
    <video poster="http://upload.wikimedia.org/wikipedia/commons/thumb/0/0d/Teddy_bear_27.jpg/250px-Teddy_bear_27.jpg" controls>
    <source src="http://www.w3schools.com/html/movie.mp4" type="video/mp4">
    </video>
    <!-- Not working on mobile device -->
    <video width="560" height="340" id="videoToPlay" poster="images/thickGuy.png" controls >
      <source src="videos/broken_compas.mp4" type="video/mp4" />
    When I load onto the mobile device , I get the spinning option, but it never actually loads the video.
    Could this be a file path issue ?
    Has anyone else tried to embed a video for phonegap dreamweverCC ?. I would be very intrested to know if they got it working.
    Cheers

    Thanks John Fritz.
    I was actually trying to use the <code> tag for the entire code block on this form, but it got very messy. I may have deleted / re arranged  some code accidently.
    In the end I used a hacky way , that I know won’t work in other phones, but you may understand my problem a bit more here :
    <video width="560" height="340" poster="images/thickGuy.png" controls id="videoCompass">
    <source src="file:///storage/sdcard0/Movies/broken_compas.mp4 type="video/mp4">
    </video>
    The video dose actually work and play now, but the path is absolute, rather than relative. The question is, where would “broken_compas.mp4”  actually install to on an android , if I hadn’t manually placed the video on a specific folder on the phone? . The only reason this is working is because I had to manually place the video in a folder on the phone.
         Madness me thinks :-)

  • How to embed jnlp file into html page using object tag

    hi everyone,
    i have written one jnlp file like this.
    <?xml version="1.0" encoding="utf-8" ?>
    <!-- JNLP file for Demo applicaion -->
    <jnlp spec="1.0+" codebase="http://localhost:9080/base/" href="SampleExample.jnlp">
         <information>
              <title>Demo Application</title>
              <vendor> </vendor>
              <description>Sample Demo Application</description>
              <offline-allowed/>
         </information>
         <security/>
         <resources>
              <j2se version="1.3+" />
              <jar href="common.jar" main="true" download="eager" />
              <jar href="classes12.jar" download="eager" />
              <jar href="toplink.jar" download="eager"/>
              <package name="com.applet.*" part="applet" recursive="true"/>
         </resources>
         <applet-desc name="grid" main-class="com.applet.PriceGrid" width="1000" height="300"/>
    </jnlp>
    i am trying embed that jnlp file using object tag like
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">     
    <PARAM NAME="jnlp" VALUE="http://localhost:9080/base/SampleExample.jnlp">
    </OBJECT>
    but i am not able to load the applet using Web Start.
    Can anyone please help me. This is very Urgent for me.
    Thanks & Regards,
    Shiva.

    thanks.
    i am giving my problem clearly. i have one applet. Previously i am loading the applet in my html page using object tag like this...
    <OBJECT
    classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH="1000" HEIGHT="300" NAME="grid">
    <PARAM NAME="CODE" VALUE="com.adp.base.applet.PriceGrid.class" >
         <PARAM NAME="ARCHIVE" VALUE="common.jar,classes12.jar,toplink.jar" >
         <PARAM NAME="NAME" VALUE="grid" >
    <PARAM NAME="type" VALUE="application/x-java-applet">
    <PARAM NAME= "cache_option" VALUE ="no">
    </OBJECT>
    now what i need to do is
    i need load the applet only first time using web start and when ever the applet code changes in the server i need to reload the applet.
    for that i kept all the applet resources in .jnlp file.i want to cache all the resources which are in .jnlp file and applet must be displayed within a web page within a browser.
    Webstart always open a new application windows.
    I need to run an Applet embedded within a web page within a browser.
    Is there a way to still use Webstart?

  • Just bought Apple TV. Our Hi Def TV only has S Video or RCA outlets. Can we use the Apple TV?

    Just bought Apple TV. Our high def tv only has S Video or RCA connectors. Can we use the Apple TV? Thanks

    Apple TV only supports HDMI. It doesn't sound like it is an HDTV, even if you use an adapter there is no guarantee it would work and even then you would not be able to watch HDCP content (i.e. iTunes, Netflix etc).
    If the TV is not widescreen and/or doesn't support at least 720P you will also have issues around that.

  • I want to get another 4s and use it not as a phone, but only as a video camera and editor and hook it up only with wifi. i would sync it to itunes so i can pay for apps and upload. would this work, or must it be connected to a phone carrier?

    I want to get another 4s and use it not as a phone, but only as a video camera and editor and hook it up only to wifi. i would sync it to itunes so i can pay for apps and upload. would this work, or must it be connected to a phone carrier?

    Trust me when I say this coming from 20 years of experience.
    Get a powered external drive, format it 1 Partition Option: GUID and OS X Extended Journed as the format in Disk Utility.
    Download and install Carbon Copy Cloner, clone internal drive to external drive.
    Set a schedule to remind you to do it at least once a week, keep it near your charger.
    When you plug your charger in, do plug the clone and power the machine up, set the display to sleep only,
    CCC will do the rest.
    If you want to boot from it, hold the option/alt and select it Startup Manager.
    I've seen many TimeMachine and TimeCapsule nightmares and so far haven't seen a problem from anyone using a bootable clone.
    It's simple, it's easy, it's more reliable and more powerful than what Apple does and it only takes plugging in a extra cable.
    Make as many clones as you want, keep them time seperated, off site etc. etc.
    Cables don't have network issues, clones can be verified in seconds merely by booting from them.
    Clones protect your productivity, your up in seconds on a clone despite even the hard drive dying.
    Software problem? No sweat, boot of the clone and reverse clone your problems away.
    If you want to fuss and muss with half implemented TimeMachine and TimeCapsule network headaches then prepare to suffer.
    I don't like to suffer, I bought a Mac not to suffer, but it appears you do with TimeMachine and TimeCapsule.
    Most commonly used backup methods

  • Hi sir am using FCP 7 I Want export 2.30 min Movie. But my My FCP is allow only 2 hr video to export can u help me how can i do.

    hi sir am using FCP 7 on Mac Pro. I Want export more than 2 hrs file like 2.30 min Movie. But my My FCP is allow only 2 hr video to export can u help me how can i do.

    Try FCP Studio forum, this is FCPX forum.

  • Using BOM's in a Retail System with Value only articles

    Hi
    I have a few questions that i would appreciate some assistance on.
    Background : I am trying to setup BOMs with articles that are assigned to a Value only Merchandise Cat Article. The BOM process does not allow such an article because the articles are not listed in the Site.
    I have setup a Merchandise Hierarchy and assigned a Mercchandise cat group for one of the levels as I want to do Retail costing at department level for the specific group of articles in the specific MC. I have therefore assigned a Value only MC article to that level.
    I have updated the Site with the corresponding indicator for the MC to be managed at group level.
    All articles in the MC group (value only), are not updated in MARC and hence the error when trying to include this in a BOM.creation CS01
    How do i get around this?
    I am able to create Sales sets for the finished article and assign the value only articles to this Sales Set article in transaction MM41. What would be the limitations in using this function instead of BOM?
    Are there any issues to consider by using BOMs or Sales sets?
    The objective is to handle components on an department valuation basis and not on a stock count level hence the MC valua only article.
    Please send me any feedback or experiences you may have on this.
    Thanks!
    Pat Pillay

    Just wondering if you came up with anything.
    My macbook doesn't even have a firewire input, but it does have an ethernet input.
    I'll probably need something faster than the USB being that I want to record live drums while listening to other tracks at the same time. You're not the first I've heard mention that ethernet is even faster than firewire.
    Thanks

  • Does the DPS publishes only for tablets? can I publish my indesign file to html only using DPS?

    Does the Digital Publishing Suite publishes only for tablets?  can I publish my indesign file to html only using DPS?

    DPS will not do what you want and neither with anything else without at
    least some work.
    HTML out of InDesign is for content only, not layout. There is a new
    product out there you can try, however:
    http://ajarproductions.com/pages/products/in5/
    Bob

  • AIR 3.8.0.440 / iOS: build fails with "ld: -pie can only be used when targeting iOS 4.2 or later"

    With AIR 3.8.0.440, iOS build with "adt -package -target ipa-ad-hoc" fails with a linker error:
    ld: -pie can only be used when targeting iOS 4.2 or later
    What's the correct option to suppress this error or does it need a fix for adt?
    In the app.xml,
    <key>MinimumOSVersion</key>
                <string>5.0</string>
    is already present in the iPhone InfoAdditions section.
    (Building the same app with AIR 3.8.0.370 is fine)

    Hi,
    Can you make sure that both your old ane and new ane are not present in your extensions directory.
    Also, how are you zipping/unzipping the ANE?
    If you are on a Mac, try these steps on the terminal:
    1) Create a new temp directory, say temp (mkdir temp)
    2) cd temp
    3) Copy the ane you need to make changes to into this directory.
    4) unzip nameofane.ane
    5) rm nameofane.ane
    6) Make changes to the platform.xml file using a text editor or vim
    7) cd to the temp directory again, (if you are now elsewhere)
    8) zip -r nameofane.ane .
    9) Copy the ane file created into your extensions directory, where you have placed the other extensions and then, package the IPA using adt.
    If you are on Win,
    1) Rename the .ane to .zip
    2) Extract the contents of .zip
    3) Make changes to platform.xml and save it.
    4) Go back to the directory where you extracted the files, select all the folders/files and right click to zip them back.
    5) Rename the .zip to .ane and then, package the IPA.
    It should work.

  • Problem with ANE - "ld: -pie can only be used when targeting iOS 4.2 or later"

    I'm trying to compile a simple AIR Mobile app for iOS, incorporating an ANE to support Localytics
    http://flashsimulations.com/2012/06/18/localytics-adobe-air-native-extension/
    Compilation fails with the message "ld: -pie can only be used when targeting iOS 4.2 or later"
    Surely 7.0 is later than 4.2! (I'm using Flex 4.6 - AIR 3.9 SDKS). Tried building with FDT and with Flash CC, and against earlier versions of the iOS SDK (6.0, 5.0).
    Any suggestions?

    thanks, but can you be more specific? Presumably I add something in this part:
        <iPhone>
            <InfoAdditions><![CDATA[<key>UIDeviceFamily</key>
                                                  <array>
                                                      <string>1</string>
                                                      <string>2</string>
                                                  </array>
                                                  <key>UIStatusBarStyle</key>
                                                  <string>UIStatusBarStyleBlackOpaque</string>
                                                  <key>UIRequiresPersistentWiFi</key>
                                                  <string>YES</string>]]></InfoAdditions>
            <requestedDisplayResolution>high</requestedDisplayResolution>
        </iPhone>

  • TS4268 Does Iphone4 support Facetime Audio/Video using 3G? Or only when using Wifi?

    Does Iphone4 support Facetime Audio/Video using 3G? Or only when using Wifi?

    iPhone 4 does not support FaceTime over cellular, only Wi-Fi.
    You need iPhone 4S or later and also only if the carrier supports it, 

  • How to use custom tag in jsp

    sir
    plz tell me how to use custom tag in jsp.plz describe it.
    i will be thankful to u

    Do you want to use taglibs or develop custom tags? Either way take a look at these:
    http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPTags.html
    http://www.stardeveloper.com/articles/display.html?article=2001081301&page=1
    http://www.onjava.com/pub/a/onjava/2000/12/15/jsp_custom_tags.html
    http://jakarta.apache.org/taglibs/tutorial.html
    http://www.ibm.com/developerworks/edu/j-dw-java-custom-i.html
    http://www.herongyang.com/jsp/tag.html

  • How we can use jsf tags in included jsp enclosed in subview tags

    Hello everybody,
    I am developing web app by using jsf. I am including a jsp page "header.jsp" into another jsp page "main.jsp". The header.jsp page is enclosed in jsf subview tag on main.jsp page. The header.jsp contains some static html code and some jsf tags like "outputText". When i added tag library url in header.jsp then my app was not even not initiating and i was getting following exception
    ERROR [UIComponentTag] Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml.
    16:22:16,890 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.NullPointerException
    at javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929)
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310)
    ....Now i removed jsf tag library url from included jsp "header.jsp" so now my app is running but only static html data is being displayed but the value in the jsf tag "outputText" is not being printed in the browser
    kindly help me. i would be very thankful....

    Your question has nothing to do with Sun Java System Directory Server.
    Please use the right forum(s).
    Thanks

Maybe you are looking for

  • How to make a photo STAY in the assets panel for future use for In browser editing?

    How to make a photo STAY in the assets panel for future use for In browser editing? When I delete a photo from a page, it does not stay in the assets panel. My client uses in browser editing daily. Once a week he changes a photo just for a day, then

  • CS5 Can't See Filters

    I just had to reinstall Photoshop CS5. Now I can't load (old) Kodak filters. CS5 sees the Kodak folder, but the filters don't show up in the list. The filters are: 1. DIGITAL GEM Airbrush Professional Plug-In 2.1 2. DIGITAL ROC Professional Plug-In 2

  • Servlet calling other servlets

    hi friends, I have got a servlet with a switch case option.There are in totality 9 options. When each option is chosen, it should call a separate servlet. How do i go about doing it. I tried res.sendRedirect("Servlet1"); But it dosent seem to work. I

  • Lights 3d and shockwave 64bit

    The Shockwave player would not install on Vista 64 bit prior to version 10.3. Versions after this have all installed cleanly and most of the 3d stuff I did years ago worked OK on 64 bit platforms except that the lighting in some of the interactions i

  • How to Transfer Video from Windows to iTunes

    Hey so I have videos from the Coldplay Concert in Seattle. I have them in Windows and it is not allowing me to transfer them from there to iTunes' Video Library. SO if any help that would be much appreciated. THANKS TFrank