swfobject not working on iOS - embed

I'm trying to embed Twitch player using Javascript API - here is documentation how to embed a player using swfobject - https://github.com/justintv/Twitch-API/blob/master/player.md. My Problem is that the code works great on desktop, but on mobile browsers - iOS (I haven't had a chance to check Android yet) script simply doesn't embed a video. It works when I use iframe method though. Is there any fix for iOS to make this works using JS API and swfobject?

swfobject is the flash player (swf = ShockWave Flash). Flash does not, and never will, work on iOS. The iframe method runs coder that detects the OS, and loads the native iOS player on iOS, and flash for everything else. You need to duplicate that functionality.

Related

What video player to use for streaming within Ionic 2?

I need to build an APP that would index videos (m3u8) from an API and allow to play them within the application itself. Only plugin I could make work and that seems to work in both iOS and Android is cordova-plugin-streaming-media, but has some issues with HLS streaming (https://github.com/nchutchind/cordova-plugin-streaming-media/issues/77).
Any suggestions? I would like it to support fullscreen. Tried videojs and couldn't get it to work in fullscreen within the device.
Thanks!

Can flash website work without flashplayer?

I just create an interactive flash website and it doesnt work without flash player. Is there a code to make my website work well on any browser and without flashplayer?
Thanks :)
Bad news, if you want to run flash animation in a web page, the browser should have FlashPlayer installed and enabled.
But if it's not in a webpage, you have the possibility to convert your Flash animation in an application with Adobe AIR for desktop and mobile.
http://www.adobe.com/products/air.html
With the last Flash IDE (Animate CC), you can export your Flash animation in HTML5, to be compatible with a browser that not have Flash Player. But not support all Flash functionalities.
https://helpx.adobe.com/animate/using/creating-publishing-html5-canvas-document.html

Deezer Track Embed Widget Seems to Require Flash (Broken on Safari 10 + FireFox)

I am trying to embed the Deezer Track Embed Widget on a page. Both the iFrame and HTML5 versions seem to require Flash to play. So they are now not functioning in Safari 10 + FireFox.
http://developers.deezer.com/musicplugins/player?type=tracks&id=532744
Are there versions / settings which don't use Flash?
The error in both browsers is:
"Flash is not installed or is too old"
Unfortunately, Flash is needed for the widget.
A full HTML5, flash-free player is in the works, but I cannot give you a release date.
Sorry for this inconvenience!

flash content on html 5 native app on android and ios

How can we run swf file inside native app of android and Ios. I want to run swf inside html5 app. Presently I am using PhoneGap or Cardova for this app.
Is there any option for html5 than please suggest.
No, you can't. Especially not on iOS that does not have any flash support at all.
Have you tried Google Swiffy? It allows to convert SWF into HTML5.
If you want to use SWF for playing animation on HTML5, you also can use LWF (an animation sample on HTML5), it works well on Android and iOS.
you can use Puffin browser for IOS and Android,
works very well for all flash swf, AS1/AS2/AS3 included

is it possible to play m3u8 video in google chrome?

Is there any way via extension / hack / or otherwise to play an m3u8 video from google chrome? I'm having some trouble getting the official word on m3u8 support, though I'm pretty sure its unsupported.
I'm working on a video player with live playback (using flash for standard browser apps) so I'm using m3u8's to get everything working on mobile, but the debugging tools on mobile leave a lot to be desired. I was wondering if there was any workaround to getting these videos to work so I could use the browser debuggers. (I'm on windows 7).
There's a new appendBytes/sourceBuffer proposal in the spec, and I saw a chrome evangelist mention that there was a beta implementation in chrome canary. With that you would have to write a ton of javascript to read the m3u8 file, get the video segments, parse the data, and push them into the media element manually. I'm guessing that's more than you want to do for testing.
What you probably want is something like Weinre.