Flash :: MP3, Firefox, Email, Javascript, Jplayer Wont Play?

Nov 21, 2011

i want to play audio 2 ways

Through my website (easier, as i can detect the browser)

sending an email which will have a player to stream the audio

restrictions.

1. Firefox wont play MP3

2. Iphone/ipad wont play flash

3. Iphone/ipad wont play ogg

4. Emails have trouble with javascript -jplayer (potential of ending in the trash)

problem. if i send via an email, i cant detect the browser, so cant choose ogg, flash, etc.

Solutions - 1. Use HTML 5 and embed a player stream mp3... works in iphone, ie8, chrome....not in firefox (mp3 issue) and older ie browsers (html5 issue).

use jplayer.... i expect the email to dislike the javascript and throw into the trash, plus will firefox play the mp3 audio? use flash.... i expect iphone/ipad not to work, also will it play from an email?

View 1 Replies


Similar Posts:


Play A Flash Movie With JavaScript In Firefox?

Jan 12, 2012

I have found a way to send a play(); command to my Flash movie in IE9 but I can't figure it out in Firefox9. Here is the code I am using that works in IE:

<head>
<script language="JavaScript">
<!--

[code].....

View 1 Replies

Flash :: JPlayer Does Not Play MP3 Files?

Mar 24, 2010

I tried to set up a playlist with jPlayer, like this demo shows.

You can find my code here.

I've checked the playList var, everything is okay (it contains all mp3 URLs for each <article> element which represents a track).

The swfPath to jPlayer.swf is correct too.

So I really don't understand where is the problem ?

View 1 Replies

Javascript :: Possible To Get Firefox To Play MP4s In The Html5 Video Tag?

Jan 25, 2012

I know it is not right out of the box, but is there a hack anywhere that uses javascript, php, or even flash to play the MP4s if the html5 video tag isn't supported?

View 1 Replies

Jquery :: Why Does Stream Play Correctly In JPlayer In All Browsers Except IE

Feb 4, 2012

I am currently building a custom jPlayer instance for a streaming media file. Having modified a supplied demo, I am able to get the player working in all major browsers except IE.

I have checked the swf path many times, which is loading without fault. I think I am unable to get the trigger to load the file in IE, resulting in "Attempt to issue media playback commands, while no mediaurl is set. Use mediaurl() to set. Context play()".

I am using an event trigger CSC class to play the media "track" in my source code (not mediaurl directly).

Below I will demo the current code, however I feel it would be more beneficial if someone could construct some pseudo code for me outlining the exact requirements to get this to work, and also an explanation of the GUI button CSS handles, so that I can get these working properly too (I may need to modify the JS, which is currently the standard).

I am using IE8 32 w/ Flash 8 and jPlayer 2.1.0

I only need the following functions:

Play button (jp_play?) - this should trigger the stream and then enable multiple other classes (jp_volume, jp_playline, jp_stop etc)

Stop button (to replace play button) - should stop (not pause) the stream and disable previously enabled classes.

If it helps jp_pause gives me all the required functionality with regard to hiding elements, except the mediaurl is paused, I need it stopping.

Current code snippets:

// Instance jPlayer
my_jPlayer.jPlayer({
ready: function () {

[Code]...

View 1 Replies

Javascript :: Sending An Email From The Browser With Javascript And Flash?

Aug 5, 2011

I'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.

View 4 Replies

Javascript :: Using SWFObject, The Flash Moves 1 Pixel To The Right On Firefox

May 6, 2010

check this page: [URL] For whatever reason, the flash slideshow moves over 1 pixel when opened in Firefox on my Mac. All other browsers render it fine, but only on Firefox it leaves a 1 pixel white gap on the left!

I am using the most recent version of SWFObject. This unfortunately is a garbage Weebly site and I cannot use jQuery in the system so I can't do a real gallery... so let's save the whole "don't use Flash for that" pep talk. It's a favour for a friend and I am already aware of better ways to do it. :)

View 5 Replies

Flash :: Javascript - MP3 Fallback On Opera & FireFox Using MediaElement.js?

Jun 5, 2011

I'm trying to add mediaelement.js to my site to present a single player for any MP3 link on a particular page. The design is working fine for IE 9 and Chrome 11 (which have HTML5 MP3 support), but it has an issue with the flash fallback on Opera 11 and FireFox 4. Clicking any MP3 link on the page uses the .setSrc() method of media element player to change the source of the player, but in Opera and FF, the first time this method is called, it returns error "this.media.setSrc is not a function". Any call to the function after that works fine.

Another issue is after the element containing the player is hidden "display:none" and then displayed again, calling the .pause() function will produce error "this.pluginApi.pauseMedia is not a function". After that error is thrown, subsequent calls work fine until the element is hidden and displayed again.

[Code]...

View 1 Replies

Flash :: Javascript - Firefox Wmode=opaque Iframe

Jun 29, 2011

I have a html/flex app loaded in an iframe, and wmode is set to 'opaque'. I have 'mousemove' listener attached to the document of flex app and document of the parent. Once I mousedown in the flex part of iframe and move my mouse around, i can see the logs from the iframe. However, when I move the mouse around in the parent, i dont see logs from the parent. But, if I mousedown on the html part of the iframe, i can see logs from both iframe and parent. Same sort of bug is reported in Firefox 4/5, which breaks html part of it. Visit [URL]

View 1 Replies

Javascript :: Full Browser Flash Works In Safari 5 But Not Firefox 3.6

Dec 7, 2010

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 Replies

Javascript :: Lose Focus On Embedded/Flash Element/tab In Firefox?

Mar 20, 2011

Without AutoHotkey and Firefox -unfocus since it's involved in operating another program and it doesn't work on linux and without Restore Window Focus After Flash addon since doesn't give you control over flash tabs.implementing this gBrowser.selectedTab.unfocus(); method and bind it to a keystroke in Firefox v3.6 ?I've also tried (based on the addon above)

if (document.getElementsByTagName("EMBED").length == 0) {
return;
}
if (document.activeElement.tagName == "EMBED") {

[code]....

View 1 Replies

Flash :: Reinitializes (reloads) When It's Container Is Resized (via Javascript - JQuery) In FireFox

Feb 2, 2010

I have a flash within a holder div (flash container). I use swfobject to insert the flash object (if it makes any difference). I want to resize that holder div to make it smaller in width, when I achieve the "second level" in my "flash application". (with jQuery .animate() function). What "flash application" mean: I have a human body on wich I can click in different body areas. That is the first action - and the effect is to zoom onto that specific area of the body.

Then I can click again on a more specific zone into that area - and the effect consists in fetching some stuff via ajax. (it's some medical stuff, diseases etc.) - that's the "second level" in my "flash application". Then I can click on that stuff fetched via ajax - that's when I resize the flash holder. The problem is that, because of this resizing, my flash reloads and comes back to it's original state, without that zoom level. This reload appears in the "second level", and not when I click on the stuff fetched via ajax and the flash holder resizes. But that's the cause of the reload, because without this resizing, it's all ok. The problem is just in Firefox, I tested it in IE6,7,8, Opera 10, Safari latest and Chrome and there's nothing wrong there, the flash does not realod. Hope you understand what I'm saying here :) if not I cand send you a private message with the URL to see what I mean (I can't make it public)

View 2 Replies

JPlayer Does Not Work Into Site (Old Flash Plugin)

Dec 14, 2011

I have insert jPlayer [URL] into my site [URL] and I've got a lot of feedback that it doesn't work. I suppose that it's because of old version of flash-plugin, but no one browser show block whith class .jp-no-solution. I've checked all browsers at home and at work - everywhere it works. But there are too many feedbacks that jplayer doesn't play music.

View 2 Replies

Flash :: Professional - Movie Won't Play In FireFox Or IE

Sep 2, 2011

So I haven't done much in flash in a while. However, I imported a new movie and then published the movie from flash and made an html page as well. For some reason I can not see the movie when I go to the page.

[Code]...

View 7 Replies

Flash :: Syntax - Get Error Clip To Play If Email Is Not Good

Jul 29, 2011

Trying to get error clip to play if email is not good, trying

if (trace(emailExpression.test(email.text)))
{
error_email.play();
}

but it's playing even if email is right.

View 1 Replies

Flash - Externalinterface.call Won't Call The JavaScript Function - Firefox 3.6

Feb 10, 2011

I have a function defined in JavaScript like so:

function fadeBack() {
alert("fadeBack called");
};

I call that function from my Flash file like so:

import flash.external.*;
flash.external.ExternalInterface.call("fadeBack");

This works in both Safari and Chrome, but for some reason Firefox won't ever call the function. Still, I can't figure this out. How can I fix it?

View 2 Replies

Javascript :: ExternalInterface On Loadup With FireFox?

Jun 10, 2010

I have an issue with my ExternalInterface. The way it is currently set up is, on the page load up, a boolean is set to true in JavaScript and then checked by ActionScript constructors (using a timer) until it is true. This marks that JavaScript is ready to get calls from AS3.

At this point, AS3 will add the callback and do some internal stuff, and at the end of the constructor I call JavaScript. So far so good. JavaScript will at this point call a function in AS3 (that was defined in the callback described above), and this is where it all messes up.

On IE this works perfectly fine. On FireFox though, it does not. When I debug it, I see that the javascript function is called but when it tries to call AS3, nothing happens. I also tried to add a timer, but for some reason the function STILL executes straight away (in IE).

[Code]...

View 1 Replies

JavaScript :: ExternalInterface.AddCallback Does Not Work On Firefox?

Apr 15, 2010

I'm trying to call a method inside a flash movie from js, every time the mouse leaves the "div". It works on Internet Explorer, but not in firefox. Here is the html script:

<script type="text/javascript">
window.onload = function(e){
init();
}function init(){
document.getElementById('div').onmouseout = function(e) {
[Code] .....

Here is example of the problem, there is an alert for the js and the flash should be able to remove the swf (see a gray background? it works! see a image, flash didn't receive the call): [URL]. This should work with internet explorer / safari / chrome (pc/mac) only firefox seams to reject this.

View 2 Replies

Javascript :: FlashObject 'is Not A Function' Error Only In Firefox

Jul 28, 2010

I have a page with a flash chart to display. First, I make a separate AJAX call to grab the chart data, and then process it in javascript and call the flash object functions like this:

var flashObj = YAHOO.util.Dom.get(chartContainer);
if (!YAHOO.env.ua.ie) {
flashObj = flashObj.getElementsByTagName("embed")[0];

[Code].....

View 2 Replies

JavaScript :: Firefox Plugin Development And Embedding SWF In XUL

Dec 27, 2010

I have a big problem with my firefox plugin: I have a button, which opens a new window for me, where I want to include that .swf file.

Here is the XUL code for the embedding:
<html:embed src="Reader.swf"
width="250"
height="250"
type="application/x-shockwave-flash" />
-> html namespace was set above:
xmlns:html="[URL]"
Reader.swf is in the same directory as the xul file

Without the html:embed, the window opens without problems, but as soon as I change that, firefox crashes without warning or something, it just disappears from the process bar. The .swf file works properly when I open it from my operating system (its windows 7 64 bit) and is coded in as3.

View 1 Replies

Javascript :: Cache A Swf File In Firefox Without Executing It?

Aug 17, 2011

I'm attempting to bring a swf file down to Firefox to cache but not actually execute. The swf comes from a different domain.

The following approach works in Chrome but not Firefox:

new Image().src = "www.other.com/foo.swf";

Firefox uses a separate cache for images.

This approach works in IE, but not Firefox:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="www.other.com/foo.swf" declare="1"></object>

The "declare" tells the browser to cache but not execute it. However, Firefox complains that the request is cross-domain.

View 1 Replies

ActionScript 2.0 :: SetInterval Javascript Not Working On Firefox

Jan 18, 2009

I have a very odd issue with Firefox 3. Take the following code

ExternalInterface.addCallback("startAds", null, startAds);
function startAds() {
debug("Calling startAds");

[Code].....

The startAds function is called from javascript. When run in IE 6 & 7 everything works fine. When run in Firefox 3 i can see it enter the function and even assign and intervalId but the function set in the setInterval function never gets called. If i call setAds from actionscript and run it in Firefox 3 it works ok. Its just when the startAds function is called from javascript in Firefox 3.

View 2 Replies

JavaScript :: Function Causing Infinite Loop In Firefox

Nov 16, 2010

A script on my page is causing an infinite loop in FireFox. Here is the Javascript:
function expandMothersRings(new_height) {
window.scrollTo(0, 0);
$('#mr-container').animate({
height: new_height
}, 100, function() {
// Animation complete.
});}

This is being called via ExternalInterface from a Flex object:
var tiles_height:Number = 175+Math.ceil(MothersRingData.getInstance().styleArrayCollection.length/4)*175;
ExternalInterface.call("expandMothersRings", tiles_height + 300);

There is no issue in IE or Chrome. But for some reason the expandMothersRings function is infinitely looping in FF. The flex object is not expecting any return value from Javascript. Also if I change the JS function to look like:
function expandMothersRings(new_height) {
alert(new_height);
}
Then it only executes once. So something in the function is causing it to loop in Firefox.

View 1 Replies

Javascript :: SetVariable Works In FireFox But Not Internet Explorer?

Jul 12, 2011

I am building a video player web-app that uses flash for playback and jquery/javascript for UI. By design of the person who wrote the flash component I need to use setVariable to communicate between the javascript and the flash player. I've read all over the internet that a lot of people have had problems gettin setVariable to work in FireFox. I designed my app in firefox because i wanted to use firebug to help me in development. Now that the whole thing has been built, i find that setVariable is not working in IE. The error i get is:Object doesn't support property or method 'SetVariable';Here's a bit of the pertinent code:I construct my html through javascript, so this is how I construct the player:

var player =
'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,16

[code].....

View 1 Replies

Javascript :: Screenshot Embedded Object And Embed In Email Using Mailto?

Jan 31, 2012

I would like to know if there's a way you can take a screenshot of a flash object embedded in a page, and then email the PNG or JPG using the mailto: form submission to a specific address. So far I have investigated various javascript methods, but none of them have worked.

View 3 Replies

Flash :: Professional - Create An Email Form That Actually Sends The Information To Email?

Dec 4, 2010

I don't know if this is too much to ask but could someone give me a quick overview on how to create an email form that actually sends the information to my email? I have the form created, and I'll post the .fla file (I allow a laugh at my elementary flash movie. This is just a final project for an intro to flash class), and I understand I'll need the .asp file from GoDaddy setup on my hosted space.

View 3 Replies

ActionScript 2.0 :: Flash Email Form - If The User Doesn't Enter Anything, It Will Ask Them To In Order To Send The Email?

Mar 21, 2005

I have used the kirupa tutorial on a flash email form and it works GREAT! The only thing is I want to have required fields that need to be entered in for the form to send. If the user doesn't enter anything, it will ask them to in order to send the email.how I can do this or adapt it to the kirupa tutorial code?

View 1 Replies

ActionScript 3.0 :: Flash Email Form Send Blank Email

Feb 20, 2010

I've created a form in flash to for customers to send email from the website. I'm using action script 3 - (mailto: ) There are two problems.

1) It doesn't send. A blank email form comes up that the user has to fill out - doesn't work with their email client.

2) How can I get it to validate?

View 2 Replies

Actionscript 3.0 :: Create An Email Form With Flash Cs4 - Sent Details To Email

Jan 20, 2010

iam trying to create an email form with flash cs4. so i've designed the layout and i've written a script to check that the details given are correct. but i am having problems while i am trying to sent those details to my email. here is the script after the details were checked:

[Code]...

View 4 Replies

Javascript :: Embed Works In Firefox And Safari, But Not In Internet Explorer 8?

Dec 5, 2011

I have a flash-based ad that displays/hides based on some javascript. It works in Firefox, Safari, Chrome ... but not in Internet Explorer 8. This is for donations to a non-profit during the holiday season,

<div class="grid_12 alpha omega">
<script type="text/javascript">
GA_googleFillSlot("360_dropdown");

[code]......

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved