Close Video Player Window On IPhone?
Sep 21, 2010
I am currently developing a slideshow video comprise of images and video clips in a sequence on iPhone (with video tag, HTML5 & CSS3).Just for your record, on iPhone quicktime videos are played using a build-in player on a new page, and you have to click on a button "Done" to go back to your website when the video finished.I was be able to use JavaScript to make the video clips to auto play, however, when the video finished, the screen got stuck on the video player page and doesn't go back to my website, while the images continue to do transitions on the site page --> the sequence of the whole slideshow messed up. how to use JavaScript to close that damn iPhone video player page dynamically (so I can put it on the event "ended" of the video tag").
View 1 Replies
ADVERTISEMENT
Apr 17, 2006
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 Related
Sep 21, 2011
We are having an issue with the video playing on our client's site. The video plays fully locally but not fully once set live on the any of the browsers, it plays just the first 15secs, then it stops.
Can anyone share some ideas as to how we can resolve this. The player is in Flash, and uses an eternal XML file for the video. We have checked and all connection are correct.
Header Code:
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
Body Code
<script type="text/javascript">
var flashvars = {
[Code]....
View 1 Replies
View Related
Apr 30, 2009
On my website I have a video player at the top and below that a list of videos. Users click on one of the videos and that video begins playing in the player at the top of the page. Is there any way that the link the user clicks to play the video can also jump to the video player at the top of the page? I've tried various hyperlinks but I can't get it to work. The videos play fine, but the users don't realize that they need to scroll back up to the top of the page to see the video.
[URL]
#### below is the video player ####
<div id='videoPlayback' style='width: 425px; height:344px;'>
<!-- <div style='width: 425px; margin-left: auto; margin-right: auto; margin-top: 10px;'> -->
[Code]....
View 2 Replies
View Related
Jul 6, 2009
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 Related
May 11, 2009
I 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.
View 2 Replies
View Related
Jun 2, 2011
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 Related
Aug 25, 2011
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.
View 2 Replies
View Related
Jul 11, 2011
i am trying to load video to jwplayer you can do it from by putting the name of the files directly into the script like this
Code:
<a href="#" onClick="jwplayer().load({'file': 'video_SD.mp4', 'hd.file': 'video_HD.mp4'})">
but now i want the names to come from the database so i tried it like this
Code:
echo "<td><a href="#" onClick="jwplayer().load('file':" . $row['first_vidoe'] . "'file.hd':" . $row['2ndvideo_HD'] . "' )">" . $row['FirstName'] . "<a/></td>"; echo "<td>" . $row['Age'] . "</td>";
View 1 Replies
View Related
Jun 9, 2010
I am building some video player controls and when I mouse over/out the volume icon, I want the volume slider to appear and disappear. On the mouseout, I want it delayed so what I did was this:
$("#mutebtn").mouseover(
function() {
$("#slider").fadeTo("fast",1);
});
$("#mutebtn").mouseout(
function(){
$("#slider").fadeTo("fast",0).delay(2000);
});
It delays but it puts the delay on the mouseover. So naturally I put the delay on the mouseover and then the delay was on the mouseout which is the correct behavior.
View 15 Replies
View Related
Sep 28, 2010
I am having a little trouble with the "src" attribute method.
I am trying to use a click event to play a specific movie using the following:
A link to an example (the link is at the bottom):[url]
View 1 Replies
View Related
Nov 24, 2011
I have a question about the html5 videoplayer. I have made a videoplayer width own buttons and a volume control. But the volumecontrol doesn't work. The code of the volume control is bold.
<!DOCTYPE html>
View 4 Replies
View Related
May 15, 2011
Take a look at this: [url] As you can see each img thumbnail has a title underneath. But I want the title to attach on the big player. It doesn't matter where exactly as long as I can access it with css.
(I have an additional question...When I put this code online the justin bieber video doesn't play. A message from Youtube is presented telling me that this is Vevo material and it can only be viewed on youtube. But as you can see it plays on jsfiddle.net.
View 1 Replies
View Related
Apr 5, 2009
I need to know if the user close the browser or to open the window � browser without or with a disable close window button How can I???
View 6 Replies
View Related
Jul 20, 2005
I want to trap the window.close() event when the user clicks on the close button of the browser using javascript. Can anyone shed light on this problem ?
View 1 Replies
View Related
Dec 3, 2011
I have a video gallery with a bigger div with width 500 pixels where the main video is waiting to be played and below is a smaller div with all the others videos from the gallery having width of 80 pixels.The list of video are managed by a content management system in PHP and are the result of youtube "Share Embed action" where the result is an iframe with the link for the video.How can i clicking on a video from the smaller div see the video being displayed in the bigger div ? already playing? or in a new layer above the website ?For now the video plays in the div it is located at.As an example here is the source video format :
<iframe width="420" height="315" src="http://www.youtube.com/embed/somevideourlhere" frameborder="0" allowfullscreen></iframe>
View 3 Replies
View Related
Jan 29, 2010
I have a HTML and I am opening another link in a separate window using window.open() . The child window is something like 'http://yahoo.com' which is out side html. I need to refresh the parent window when the child window is closed.
View 4 Replies
View Related
Dec 26, 2004
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.
View 2 Replies
View Related
Apr 7, 2010
- I have a button on my Flash site that opens an HTML page in a popup window. In Flash, I open the new window using Actiosnscript 2.0:
- Within the popup window are links to other HTML pages. They all open in the same window. I've been using the following to create the links in Dreamweaver:
- On each page, I have a "Return to Main Menu" button that should close the popup window. To do this, I have been using:
- The problem is that it works differently in each browser, and I can't even get it to consistently close the window in most browsers:
Internet Explorer = popup message appears, asking "Are you sure you want to close this window?" or something similar; window closes after clicking "Yes."
Safari = Only closes if I'm on the original HTML page. If I click on any of the other links (note that these all open in the same window), those pages' "Return to Main Menu" buttons cease to work. However, if I keep clicking "Back" until I get to the original page, it closes.
Opera = Button actually works for each page.
Firefox & Chrome = Does not close the window at all.
I looked into it and saw that others have used a window.opener to solve similar issues. But, since my popup window is opened using Flash/AS2, I need to find a way around it.
I've tried preceding "window.close()" with "window.opener=null" (i.e. -onClick="window.opener=null; window.close()"), but I don't think I'm doing it right because it still doesn't work.
I've also seen others use codes that involve functions and variables, but it is beyond my current coding knowledge to implement this. Like I said, I'm sort of new at this.
View 5 Replies
View Related
Jun 15, 2010
I'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()">
View 4 Replies
View Related
Apr 12, 2009
I have a blog which is dedicated to english music. I was using flash audio player before but now using window media player. Iam successfully runing the code in my blog and using a playlist in which songs play one by one, but i want to make the song list visible in my blog so that people coming in can decide themselves what to listen. so i want to make a playlist above or below the player so that songs are visible for selection and for listening. The current code which i am using now is.......
<OBJECT ID="MediaPlayer1" CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab# Version=5,1,52,701" STANDBY="Loading Microsoft Windows� Media Player components..." TYPE="application/x-oleobject" width="280" height="46">
[code]....
View 2 Replies
View Related
Dec 29, 2010
i 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 Related
Jan 29, 2006
I need a script that will open a new window (popup / new link) in a specific size, but will also close the old window (where the popup came from). I know the popup window is easy but finding a work-able close window script as the new window is opened is impossible!!
View 3 Replies
View Related
Feb 1, 2010
I have an HTML page where I am opening a child window using window.open. the child window is something like yahoo.com. I want to refresh the parent window when the child window is closed.
View 1 Replies
View Related
Aug 7, 2010
I am trying to create a pop up window to view a video stream but it's not working. When I click on the image the pop up window doesn't appear. I have an oscMax site (this is oscommerce with more bells and whistles). This is my html code on my index page:
<td align="right" valign="middle"><a href="javascript:openNewWindow_01_01();"><img src="templates/my_custom/images/play_video.jpg" alt="Video Tutorial." border="0" width="50" height="20"></a></td>
And this is my attempt at the javascript. I inserted it into my stylesheet but I'm not sure if this is the correct place for it.
</style>
<script language="Javascript" type="text/javascript">
<!--
function openNewWindow_01_01() {
[Code]....
View 5 Replies
View Related
May 3, 2009
I'm trying to create code to close the child window I'm creating if the parent window is closed. Here's my code so far:
function openWindow() {
var newWin = window.open(); // open the new window
newWin.document.write('<h1>Child Window</h1>
[Code]...
The above openWindow function is used in this event: <input type="button" name="btn" onclick="openWindow()"value="Open a new window" />
I can generate the new window fine. I just can't close it if the parent window is closed.
View 1 Replies
View Related