I'm having some issues with the JPlayer widget.
I'm using JPlayer 1.1.1 with Firefox 3.6.4 and I'm testing this locally on my laptop. I'm all setup to use local domains i.e. http://mylocaldomain, etc.
I have JPlayer in a folder under htdocs called myfolder that I access by going to http://myfolder. I have a test script setup just like the playlist demo on the JPlayer Web site (http://www.happyworm.com/jquery/jplayer/latest/demo-02.htm).
When I load my test script in Firefox it plays like half a second of the audio track. However, my script works fine using Safari and Chrome, and plays the tracks in sequence.
Is there a way to not use the .swf as I have been seeing in other posts as it's becoming really annoying trying to debug this for Firefox when it works in other browsers. I've tried various swfPath settings but it still doesn't work.
I just completed a JPlayer project using Firefox 3.6.10 as the main dev browser, and JPlayer 1.2.0, and I did not see an issue with it cutting off as you describe. You might try upgrading to JPlayer 1.2.
However there is this in the dev guide:
"Firefox 3.6 (Windows, Mac) †
...
* When using {oggSupport: true}, the browser appears to enable file seeking, which can cause the music to pause briefly when a new play position is selected."
Again, I don't think I saw the problem you mentioned. However, that means I do have working code. Have you tested on multiple machines, and what OS are you running Firefox on?
Try loading my application in your Firefox ( http://alinesoundscape.org/ )and see if it works. If so, I can post the relevant parts of my source and you can compare with what you have.
Related
Environment
I am using Chromium 78.0.3904.108 Built on Raspbian running on Raspbian 10 on a Raspberry 3b+.
I am opening up a bundled VueJs app via file:// protocol directly in the browser. The app files are locally available on the machine. Until now everything works as expected. The app displays and works fine !
Problem
The website files contain a html <video> tag to play mp4 video files, which are locally available as well. However, a console error is telling me Not allowed to load local resource: file:///home/path/to/the/video/file/abc.mp4
I am very aware of this issue, it's an inbuilt security feature of the browser. However, the machine will only load content owned by me, so I guess I should be safe ignoring the warning.
Expected behaviour
By passing --allow-file-access-from-files to chromium-browser I expected it would disable this security feature. Doesn't work. I tried --disable-web-security as well. Same result.
I tested the same vue app bundled into an electron executable and having the electron option "webSecurity" set to false, the content is able to play without the warning. However, since the playback performance in electron is notable lower than compared the chromium-browser directly, I was trying to use the browser directly.
Has anyone used soundjs within a node webkit application using local mp3 files?
Can it be done? If so I will keep researching.
I have test apps that work through a browser (Chrome) playing my MP3 library with it but I cannot update my local library within javascript in an HTML5 page in my browser. As browsers block that.
So to get persistence I moved to a local app with node webkit and can do everything I want except successfully install soundjs.
Can it be done? If so I will keep researching.
The soundjs I am talking about is the one at http://createjs.com/Docs/SoundJS/modules/CreateJS.html
not the soundjs you install with npm. That is a module to access Soundcloud.
PS this is hobby fun stuff not real world stuff.
PPS I am working on Windows 8.1 just to make it harder!
I'm developing some HTML-files using a lot of different libraries, but everything is compiled and served using grunt ('grunt serve'), which fires up my default browser and connects on 127.0.0.1:9000. I can copy/paste that URL into other browsers on my OS (Mac OS X) with no issues.
However, I also need to test in IE, where I normally use VirtualBox with browsers from modern.ie, but the URL is not available on those images (which makes perfect sense as it's a local IP). How do I make those URL's available to my VirtualBox images?
If I use my MAMP setup, I can access the URL's I've configured in my hosts file, but as I'm not using MAMP for this, that won't be an option.
Thanx in advance for any help!
/kim
Managed to get it to work, and as hgoebl said, it was a purely networking issue. Basically, I just followed this: http://naxoc.net/2013/10/22/windows-in-virtualbox-on-the-mac/ and everything works now.
According to caniuse
http://caniuse.com/#search=svg
there is full support for SVG except for IE 7,8, but when I view in Chrome and Firefox, many examples don't work
For example both azimuthal and albers in the examples found here
https://github.com/mbostock/d3/tree/master/examples
Both work fine in Safari
My browser versions
Chrome
Version 21.0.1180.82
Firefox
14.0.1
Anyone care to comment as to why these examples aren't working?
As #Josh commented, the most likely reason is that you are viewing these examples out of your local file system, rather than using a local web server as described on the Wiki.
When running the examples locally, note that your browser may enforce strict permissions for reading files out of the local file system. Some examples use AJAX which works differently via HTTP instead of local files. To view the examples locally, you must have a local web server. Any web server will work; for example you can run Python's built-in server:
python -m SimpleHTTPServer 8888 &
Once this is running, go to http://localhost:8888/examples/.
A little context:
I'm trying to build and run the unit tests for the source of the Selenium IDE plugin. Everything builds correctly (through maven commands, et al) and the unit tests fire up an instance of Firefox. However, the jsUnit testRunner.html page freezes whenever a chrome://-accessed uri path is encountered.
I realize there are a LOT of moving parts in this situation, but I'm fairly certain/convinced that it's centered on an inability to access chrome:// paths within the markup of testRunner.html.
I am working with:
Firefox 3.5.7
Selenium IDE 1.0.3 source
Maven 2.2.1
Windows XP box
I've already taken into account various known required tweaks for such execution in a Firefox 3.X environment (setting security.fileuri.strict_origin_policy = false in the profile preferences and adding contentaccessible=yes to the chrome.manifest file of selenium-ide), but to no avail.
Does anyone have any insight into such an issue? I know my specific situation includes building Selenium IDE, but my gut is telling me it's a simple browser security situation.
Any and all insight is much appreciated!