Soundfile Player
Nov 23, 2005Any ideas on a script that would sequentially load and play sound files.
I'm not trying to "blast" anyone's sensibilities. I tried top do this
and couldn't make it work.
Any ideas on a script that would sequentially load and play sound files.
I'm not trying to "blast" anyone's sensibilities. I tried top do this
and couldn't make it work.
i am having trouble making an in browser ws to be able to put the songs on it by the way. Basically its supposed to be like winamp or w/e when you download it but instead i want it in a browser. The user should be able to just drag there files in and play.
View 1 Replies View Relatedi need code in javascript to make the player select playing with the computer or other player and select who player beginning playing
View 2 Replies View RelatedI am using the youtube chromeless player and embeding videos with loadVideoById() method problem is that videos with an id that contains an underscore or dash dont play although they play in the normal player. I also tried replacing with a hex value in querystring i.e (%5f) but that did not work I also tried loadVideoByUrl() method with several urls but still they don't load. here is my code
function switchToPlayer(ytid){
var params = { allowScriptAccess: "always"};
var atts = { id: ytid,onmouseover: "this.playVideo()",onmouseout: "this.pauseVideo()"};
swfobject.embedSWF("http://www.youtube.com/apiplayer?border=0&enablejsapi=1&playerapiid="+ytid, 'cell'+ytid, "150", "120", "8", "scripts/expressInstall.swf",null,params,atts);
}
[Code]....
Here is a link to my churches website i am trying to get this to work. They want this sermon audio to be working this week.
[URL]
Right click save link as works for OGG, on the first track.
But the mp3/Ogg doesnt wanna work in Firefox at all. Ogg works in Chrome Cant get firefox to work with any of this though
1) Uses the <body onload> function but does not get blocked by pop up blockers and firefox. (This site, sitepoint, has a pop up that is not blocked)
2) Stays open and does not reload when someone clicks on the trigger link again. If someone click it should just bring back the same window.
3) The window always stays in front of other windows unless minimised.
I'm a total javascript noob, and new to web development in general, so I'm not sure how to use the API for the YouTube Chromeless player. So far here's my code:
Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Mary North Travel | Full Service Retail Travel Agency Specializing in Leisure, Corporate, and Cruise Travel</Title>
[Code]...
The loadNewVideo method currently does nothing. According to the API I need to use the getElementById in order to call the API methods. How do I incorporate that to make the methods work? Also, the API says I need to have a javascript function called onYouTubePlayerReady on my HTML page, which I've tried to incorporate based on seeing it used in someone else's code, but I'm pretty sure I'm not doing it right. How and where should this really incorporated?
I've been able to get the video to play when I exchange apiplayer in the URL with the YouTube video ID, and the play, pause, and stop links will control the video. However I'm having trouble incorporating the API methods loadNewVideo, cueNewVideo, etc.
how to create a player for a swf file so it doesnt' constantly loop?I want to create a page with a series of videos on it. I'd like to have them all on the same page like youtube does. That way, people can just click on whichever video they want to watch, and watch it on that page. So, I need a player with a stop, pause, play button etc. Is this possible with javascript?
View 4 Replies View RelatedI'm trying to use WMP in FireFox and I have the following tag to embed
the player into the html page.
<EMBED TYPE="application/x-mplayer2"
PLUGINSPAGE="http://microsoft.com/windows/mediaplayer/en/download/"
ID="wmp"
Name="wmp"
DISPLAYSIZE="4"
AUTOSIZE="-1"
BGCOLOR="darkblue"
SHOWCONTROLS="-1"
SHOWTRACKER="-1"
SHOWDISPLAY="0"
SHOWSTATUSBAR="-1"
VIDEOBORDER3D="-1"
WIDTH=320
HEIGHT=313
SRC=""
AUTOSTART="-1"
DESIGNTIMESP="5311">
</EMBED>
Problem is that I can't access the controls through JavaScript. I have
to change the SRC property and play a new file according to user input.
var w = document.getElementById('wmp');
// This doesn't work... JavaScript error: "Play is not function"
wmp.Play();
// this also doesn't work... "controls is undefined"
wmp.controls.Play();
Anyone knows how to control WMP via JavaScript? I'm googling all over,
but I can't find a piece of code that shows me how to do it...
I am trying to get jme player to playback a H.264 encoded video clip in Firefox (on Mac). I am using the following markup:
<video style="height:300px;width:400px;" controls="controls" poster="/images/clip_preview.png" %> preload="none" class="embed-only"><source src="/movies/clip_h264.mov"> type="video/mp4" />
</video>
The clip plays fine in Chrome and Safari, however Firefox cannot deal with H.264 natively. I assume, the underlying JW Player should fall back to Flash and use that to playback the H.264 video. How can I tell jme or JW Player to do that? Or can you think of a better way?
my website[url]... has a pop-up video player but on certain videos (speeches for example) the video is of slightly different dimensions. I can not re-encode the video so I was wondering if I could easily edit a file in notepad to change the dimensions of the player in order to enable the user to be able to see all of the player controls. In the flash folder I have .swf and .flv files. Is there another file that represents the player dimensions/controls elsewhere?In addition to this, if a video is playing and I click off of the video player (onto the greyed out background) then the video player stops. Does anyone know how to stop this happening?
View 3 Replies View Relatedi have found an engine that i would like to edit, in the following javascript code, it will contain code on moving a player to the left, what i want is for every 32px it moves the player left, i want it to also to scroll the map at the same time (it's all contained in a div called "global_map") -
function player_move_left(user_id, bloc_id, charaset, prefix)
{
var player_id = prefix + user_id;[code]....
how to scroll 2 things at the same time (the player div and the global_map div)
I'm trying to make a dice game, as well as making it two player. I need to be able to have a scoreboard displayed (eg. player 1 has won 7 times and player 2 has won 4) and I need to be able to prompt the user on if they want to play the game again.
So far I have the following:
I basically just tried duplicating the original function that adds up the 'dice'. But it doesn't work, I've tried playing around with if/else statements etc to get it to display messages and so fourth, but I have failed.
I have a tiny flash player(with controls) in a table on it's own html page. It only plays one piece of music. But I need an unusual popup script which I can't seem to find. I want the tiny player (75 x 30) to popup on it's own without all the window (chrome?) surrounding it. I want it to be in either the top or bottom left corner. I would also like it to popup on load but turn off when I go to a particular page that I have a sound video on and then turn off completely when they leave the domain. It is a music site. How do I get around annoying popup blockers.
View 2 Replies View RelatedYou know how you can embed videos on a webpage?
<embed src="video url here" width="100" height="100">
That's a sample code that you'd use. You know how it has a default, automatic media player that shows up in corresponding to that code? The thing with the play, pause and fast forward buttons? Well...it's a bit plain. The way it looks. I know I've seen them before, but where can I get some media player skins so the media player on my webpage has more style to it?
Whenever I search "media player skins" on google it gives me media players for using off the internet like, for iTunes or something. That's not what I am looking for, but if that's what it gives me when I type in "media player skins" then I don't know where else to go. Help? :o
And how would you make it the skin of the media player? How would you put that into the <embed src="video url here" width="100" height="100"> code to make it the skin of the media player?
I have a simple FLV player that I would like to use in an online video store. I would like it set up so that every time a user clicks on a video to preview, the video plays in the player that will be on the side. How can I set this up so that the player will play an opening video when one enters the site, and then whenever someone clicks a video, it will play in the same player without loading a new page. Can someone show me how to do this using Javascript?
View 6 Replies View RelatedOn this page, when you click one of the item titles, a pop up box appears. Depending on the size, the music player interferes with it (displays in front and blocks some content). Is there a way to make the music player appear behind the pop up?
View 10 Replies View RelatedI have a number off videos that I want to play on a video player that I made using Flash. I can change what video the player plays by changing the filename in the red line in the following code.
Code:
<script language="JavaScript" type="text/javascript">
AC_FL_RunContent(
'codebase', 'download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
[Code]....
This player is only going to be used on a local machine and not on the net.
I have a javascript with code that looks like this:
var bdiv=document.getElementById('mysong');
bdiv.Play();
where mysong is the id of the embedded media player.
This script works fine in Internet Explorer but not in Firefox.
Error console says bdiv.play is not a function.
I am not sure whether this requires flash or not, therefore I'd like to ask if it is technically possible to create your own audio/video player with JavaScript/jQuery? If not, could I create something similar just not with full functionality? Like stop, next, previous, etc. buttons?
View 3 Replies View RelatedI know nothing about js, however, I need it to provide a solution to something at work.
We have a page in our department that launches a movie player once the page has loaded. What I would like is that the player is delayed by a few seconds before it launches.
Is there anyway i can load or swap between videos on a main flv player by clicking on there assign buttons with javascript. I have a page in my portfolio which have three icon that when click should player a video into the main player on that page,
View 3 Replies View RelatedI am struggling to find examples on the web that implement Javascript
callback functions of an embedded Real Player.
There are lots of examples for Visual Basic, but I couldn't find any for
Javascript.
I am looking for any basic example.
For example, showing a javascript alert when a Real Player error is
triggered. (with examples for both Netscape/Firefox and Internet Explorer)
I am really lost in trying to hook up the controls. I've gone through and gotten all the files together from the demo, and tried using some of the UI helpers on "git" but I need an example to follow that's more for beginners
View 1 Replies View RelatedI'm using an onLoad script to resize a browser window for a flash player -
<script>
function ResizeOpen(){
window.resizeTo(435,475)
window.moveTo(280,140)
}
</script>
Works fine, but in IE & FF it causes second browser windows to open to the same size after it's been called, requiring users to resize the second windows.
Tried using an onUnload with following script -
<script>
function ResizeClose(){
window.resizeTo(window.screen.availWidth, window.screen.availHeight)
}
</script>
Doesn't work. They're both in the <body> element -
<body ........ onLoad="ResizeOpen()" onUnload="ResizeClose()">
I need Media player to stream and play video in javascript..
My requirement is I have .wmv files but when i embed them in html pages first it gets downloaded and then it gets played.
I need them playing while they are getting downloaded.