Javascript :: Test Whether A Mobile Browser Supports Flash Using Web Technology?
Jul 26, 2010I know most mobile browsers don't support javascript,
how can I check this?
I know most mobile browsers don't support javascript,
how can I check this?
I'm making an application with SL/flash charts and am wondering if there is a way to test if the browser it's being pushed to supports silverlight or not (ipad/iphone). And if it doesn't, then I can use some kind of AJAX chart in its place.If this is possible to interchange platforms by testing against the host, how would I do this?
View 3 RepliesI've run across several websites, including mine, that prompt users to download Flash even though their browser cannot install it. I want to avoid this confusing messaging by detecting whether a mobile browser can install Flash, not whether it has Flash.
Some known mobile browsers that can't install Flash are:
iOS Safari
Android Chrome beta
Android Firefox
Instead of building an ever-changing list of Flash installability, I would like to detect this in a general way in Javascript.
Does flex mobile supports In-App purchases, push notification etc that can run on all supported mobile platforms (iOS, Android, Blackberry playbook).
View 2 RepliesI have a flash banner that I want to replace with a static image if the clients browser doesn't have flash enabled.
I was wondering if I can do this with php
I need some little 3D rendering in my browser application. Unfortunatly the Internet Explorer 8 is not going to support WebGL, Canvas 2D or SVG. And the Windows XP users can't install the IE9 (which supports at least Canvas 2D). What do you think about Plugin-based alternatives?
I mean Silverlight with XNA 3D seems not to be supported any longer.Flash has a bad reputation if I ask Apple. What do you think about Unity3D?Are there others?
I want to use a fallback solution for HTML5 / flash audio players.
I wonder if I can use jQuery to check if HTML5 is supported.
I know there is .support() [URL]..but I'm not sure which would be a bullet proof check.
I'm looking for a Flash video player that is able to stream m4v files on all browsers. Example file: [URL]
Unfortunately, I can't convert the format since it originates from 3rd party servers. I can't rely on HTML5 video since not all browsers support this format and the encoding it contains.
I've already tried several players such as JW Player, Kaltura, Video JS, Projekktor, and more. Testing them with Firefox and IE, some of them couldn't play the m4v file at all, while others downloaded the entire file before starting to play it.
I've tried JWPlayer from my app (C#). It works well, but I can't seem to find cookie support. I need to send a cookie or else the server will return 403 Forbidden. Is there any commercial flash player with cookie support (or I'm missing something in JWPlayer's doc)
View 1 RepliesI'm doing Html5 video play on my project with flash fallback (if it doesn't support html5). But both players are loaded if browser supports both.
<video controls="controls" preload="auto" poster="image.url" >
<source src="video.url" type="video/ogg" />
<source src="video.url" type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'/>
[Code].....
I built a prototype in Adobe Flex, they (customers) liked it. Everything was fine until they later told me that iPads / iOS needs to be supported too.I checked out Adobe's Packager for iPhone. We're evaluating that and we will know if it works out in a couple of days. (We need to get through Apple's red tape and certificates raj so this angle is delayed by a few days!)
There is a growing voice for using HTML5/Canvas as a technology platform itself. And despite being quite proficient in Flex, I think this makes sense.
I'm in need of a HTML5 library that can:
Render "widgets" i.e. containers with forms and components(this should be easy and possible using POHJC - Plain old HTML,JavaScript and CSS )Provide a Tree like control for laying out some data Provide a Canvas where data structures can be represented as basic shapes Provide drag and drop capabilities between Trees, Buttons and Canvas Provide some sort of Tab Navigator container (I guess JQuery works here) Interact with back-end services (JSON/XML calls will be okay, but mapping directly with back-end entities will be awesome!)Renders on latest versions of major browsers, Android OS and iOS (WebKit for mobile?)
I'm ready to give JQuery & JQuery UI a try. I looked at Sencha / ExtJS but it seems we need to maintain two code bases one for normal browsers and the other for mobiles (is that correct?)Single code base, I don't want to suggest to them that multiple code bases for the client need to be maintained. That's a last resort option and would lead to complete ruling out of HTML5 with Flash apps and native apps being developed.Canvas capabilities - I don't want to work with raw canvas and shape tags. This too is a last resort option. Is there any abstraction available?
I want my web site to use flash, but want to make sure Apple mobile devices dont see a big blank box. How do I test for this and replace flash with an image if its an iPad, etc.?
View 1 RepliesDoes anyone know of a good charting/graphing tool that supports dynamic pie charts, i.e.where a user could change the values by dragging, etc? It would need an event API so I could get access to the changed values.
View 2 RepliesI'm wondering if its possible to do what I'm thinking, and if it is possible, does anyone know of a flash object that does what I need? I know a Flash object can provide a javascript API to interact with it, what I dont know is can Flash send an email directly without the need to talk to the webserver to do so? If thats possible would it not be possible to write a flash object that did nothing but provide an API to send emails? Has such a thing been created that is out there for others to use?
I'm looking to create a email form on a web page but the site is static (no server scripting). In my situation server scripting is not possible as there is no server, the site is 100% client side on a CD/DVD/USB Stick.
I can not get to any MC in _level0 (main swf) from an external swfs.Which you know, should be easy, something like _root.MenuMC._visible = false; should work
and it does, sort of.It works when I test my movie within flash (ctrl+enter or F12), but it does not workwhen I test in on the browser.tried many different ways to do it, like:
MenuMC
_root.MenuMC
_level0.MenuMC
[code]......
<?xml version="1.0" encoding="utf-8"?>
import flash.display.Sprite;
import flash.events.Event;
[Code].....
I am working on optimizing a page that has Flash on it. I am using optimization practices like moving Javascript to the bottom to not block. Removing inline scripts. And minimizing HTTP requests with minified css and js.The majority of the pages content is in the flash, so loading it as soon as possible is the goal. Currently there is a 2 ~ 3 second delay before the flash is even rendered (using firebug profiling)
I am wondering at what point in the page load does the browser start initializing flash on the page? Is it once the DOM element containing the flash has been rendered? Is it once the complete onload event has been fired? I imagine it probably differs with each browsers as well.
I'm using an embed flash player in a web page and I want to scale it to browser window.hen I put "height: 100%" in the flash parameters, I get a blank page.This is the code of the page :
SlideShowPro({
target: "slideshow",
xmlFilePath: "galeries/images.php?album=1",
[code].....
I have a website with a simple Flash animation behind some text and semi-transparent images as a background. I have used swfobject to embed it and set wmode opaque to make it display correctly in most browsers.For browsers without Flash, the user gets a static background image instead and would not know they were missing anything. However, Android users get the flash background on top of everything as per the known issue with how Flash content is rendered in the Android browser making the site unusable.
I have added a crude browser sniff javascript function to the swfobject code to prevent it from loading for any user agent whith 'Mobile' in it:
<script type="text/javascript">
if (navigator.userAgent.indexOf('Mobile') == -1)
{[code].....
The only problem I have left is for Android users browsing with 'Mobile View' turned off as the user agent pretends to be a desktop version of Safari (I think). I do not wish to disable the Flash animation for all Safari users. Is there a way of blocking it for just Andriod users - even if they have 'Mobile View' disabled?
Possible ideas include:detecting the Flash version with JavaScript or Flash. Does Android use specific versions (version numbers) of Flash which are different from the desktop equivalent? blocking the specific user agents used by Android devices with 'Mobile View' disabled.
The existing site in cakephp with flash. We need to convert it into mobile version.
View 1 RepliesMy webpage loads a background flash which will connect to the server using socket. If a user open multiple windows/tabs of my website, the server will get multiple socket connections. Any idea of how to make sure that only one socket is connected from the same user and same browser?
I am thinking of using Javascript to monitor the window close event, if a window that was connected to the server is closed, one of the other windows will try to connect to the server. But I can't find a way to listen to that event.I was thinking of Flash's LocalConnection too, but can't find a way to assign unique connection names and let other Flashes know.
I was wondering how to achieve the native scrollbar effect which TheFWA (thefwa.com) has managed to do pretty well (I am not a fan of Flex scrollbars).and implemented the technique, as I am calling a JS function through ExternalInterface every time, when the flash object changes size. This JS function simply resizes the div which holds the flash object, which creates the native bars.Unfortunately, when I resize quite rapidly (from 800 to 1800 height, for instance) the flash object simply gets warped for several milliseconds (as if it hasn't changed its size, but simply got pulled in all directions). After these milliseconds, things get back to normal, but the whole situation is really visually annoying.
Originally I thought that it's simply a timing issue, but after a bunch of attempts to set a delay, the effect was the same ... just delayed.How can I resolve that? I know it's technically possible. Just take a look at TheFWA, and see how smoothly flash and the browser are communicating with each other to make the native scroll bars work, without any flickering, or mismeasurement
I need to play WAV, MP3, MP4 and SWF files using Flash Player plug-in in Internet Explorer, FireFox, Chrome and Safari. Please give some suggestions on this.Is there any way to play this formats using JavaScript and HTML??I tried with and tag also but, Chrome, Firefox and Safari is required Quick Time Player to play this formats. I need to use only Flash Player.
View 1 Repliesi have a page with swf flash flash with width 300x250
<div id="flashswf"> ...some flash </div>
<div id="maxme">full screen</div>
i have a link called full screen and i need to maximize the flashswf div to fit the current browser maximum height and width
is this possible using jquery?
i have a swf file of width 1000 and height 700. i want to show the swf file in full screen of the browser it self (not like videos plying full screen). i tried like the following
1) get user screen width and height using java script using the functions available (screen.availHeight and screen.availWidth) the screen size is available by using the functions but not applying to the flash object
2) tried giving 100% for both height and width in object code that also not working
I have a Flash file embedded into HTML - the objects inside are place based on the browser's screen size.Most of the time I don't want a scroll bar, as things are correctly placed, but once the browser window gets too small it'd be nice to have it.So, the main question: can I have a Javascript code listening for the browser window, then adding a scroll bar if it's smaller than a certain number?
View 1 RepliesI've been trying to understand how flash animations or a Java Applet work within a browser. I can think of a couple of ways - The Flash Player/Java Applet are machine code that's dynamically linked it, and given some parameters about the area of the screen that belongs to them; after that, they run within the same process space. The browser exposes an API that the player/applet use to talk to it and they live in a separate process. (Presumably they talk via sockets?) The API could correspond to openGL/X11/some custom calls.
These possibilities still don't explain things like how a button click can make the player full-screen, how it can play music, how it can inspect the DOM, etc. For that matter, is the video displayed by decoding to a sequence of images, and rendering them one at a time, or is there a more efficient way, e.g., of pushing the deltas in the image? The Wikipedia page on Java Applets
(1) talks about how the applet is run in a sandbox (presumably a separate process), but it doesn't say how the browser and the applet communicate. Perhaps the answer depends on the underlying platform?
Can anyone give me a clue as to why this markup works fine in Safari, but not in Firefox?This should load an ugly blue placeholder (which I get in safari) but in Firefox, swfobject just gives me the alternative content.[code]
View 1 RepliesI have a media player, which rotates images for the artist it plays. I load the images dynamically into the flash. The flash downloads the same images from the server over and over, how can i cache the images, so flash grabs them from a local cache and not from the server?
View 2 RepliesI want to put one audio player in my website. For that I need to know if user's browser have flash player installed. Otherwise I will use different player to play audio file(.wav).
I will be glad to know its solution by either javascript or coldfusion.