JW player play/Pause button refreshing browser - sitecore

having an annoying problem with JW Player. If I click on the video it will pause and play generally fine however if I use the pause and play button it refreshes my browser. Seems to effect browsers using the HTML5, fine in Flash. Can't come across anyone reporting the same problem. Running the files from videos in Sitecore Media Library. I was having a problem in IE9, saying 'error loading media: file could not be played' I sometimes get this in Chrome after trying to resume playback of video. Any ideas? Have encoded the video in Handbrake as iphone4 and universal MP4 with web optmise ticked.
Not done anything that special with the Javascript and using default skin.

Related

Playing a video in the home page by Django

I want to have a home page which plays a video when the site runs, and has a button in order to skip the video and go to the first page of the site
any advice to do it?
You can use a html5 video element and set it to autoplay. And also have a button linking to your homepage

PDF file not Open in Mobile Devices

i have a website which contains lots of PDF its work good at desktop but mean while mobile devices do not support PDF file. There is no PDF file open in mobile devices. Any one give me idea to solve this issue.
The problem is CSS. Try loading the page an your browser but make the window size narrow (like a phone) so that the sidebar drops below the pdfs. you will not be able to click on the pdf icon. something is wrong with how you are presenting the links/icons.
Specifically the entire section with the links is overshadowed by the search form.

How is SoundCloud embedding an HTML5/JS widget on Facebook?

Here's the scenario I'm seeing -
You click to post a sound from SoundCloud to Facebook
It embeds a player in the post that can either be clicked on to take you to the original item on SoundCloud OR you can click a Play icon to play the sound right in your feed.
The player is a Javascript/HTML5 player (which you can see by viewing source) HOWEVER if you take the embedded URL and put it in the Facebook open graph debugger you'll see that it appears to be directing to embed a Flash SWF
How is SoundCloud doing, what appears to be, some kind of redirect trick to get a "og:video" SWF to turn into a JS/HTML5 player?
I notice that there is an "og:type" of "soundcloud:sound" so is it some kind of whitelist/Facebook application scenario?
Try it yourself with this:
OG debug: https://developers.facebook.com/tools/debug/og/object?q=https%3A%2F%2Fsoundcloud.com%2Fsystek_music%2Fcyberoptics-sub-antix-the%3Futm_source%3Dsoundcloud%26utm_campaign%3Dshare%26utm_medium%3Dfacebook
I did find this bit of info from the SoundCloud site about how they've switched to JS players (that fall back to Flash on older browsers): http://help.soundcloud.com/customer/portal/articles/1219149-where-has-the-flash-widget-gone-
This may only be a partial answer. But there exists a special Facebook Open Graph Music program which "is only available to whitelisted partners at this time". This includes a bridge which has the goal to "enable play buttons on feed stories on Facebook.com that can play and pause tracks and indicate which is playing."
However, apparently you can include both Flash (application/x-shockwave-flash) and HTML5 video (video/mp4) formats in the og:video:type property.

Spotify Play button issues since Web Player introduction

Our website has been having some issues with the Spotify Play button since the Spotify Web player has come into existence.
There are 3 issues that I have noticed so far:
1) Have to click twice to get the track to play
Clicking the play button (when the Web player didn't exist) used to start the song playback in the background. Now on clicking the button, it first launches the web player (which is fine) but doesn't automatically start playing the music. It imports the playlist but that's all it does. It works only if the user manually presses play on the Web Player/ Clicks on the button the second time (bad from a usability perspective - left our users confused). Along with this, to confuse users further, The Play Button shows "The Track Cannot be played" when this happens. However, if you press on that track again (either from the play button or the actual web player), it works fine and the message goes away.
Tested on Chrome (OSX and Windows 7) , Safari (OSX)
Can be replicated here: http://partysen.se/event/5/tanmays-awesome-party/
2) Invalid OAuth Token
A possibly connected problem seen since the launch of the web player is the play button saying "Invalid OAuth Token" when trying to play something. I do not have much more information to replicate it, other than the fact that it started happening on Mac OSX once the web player was launched and I also installed the mac spotify app.
Tested on Chrome (OSX and Windows 7) , Safari (OSX)
3) Button asks for App Installation
Another issue : On clicking the play button a spotify web page asks for installation of the app. Also discussed here:
https://stackoverflow.com/questions/16348049/spotify-play-button-not-working-in-google-chrome
Noticed this only in Chrome in Mac OSX.
Questions
Is it possible to fix if the button uses the Desktop apps or the Web Player in the mean time ?
Can we get any more information regarding the OAuth Error described above?

Using a web site button control via C/++

I use www.jango.com as PC music player and want to steer it remotly via my smartphone. I have a server program for controling the PC and an app as client.
I want to use the server program for example to press the play/pause or fast forward button in jango.com running inside the chrome webbrowser.
A simple way would be to simulate a windows mouse click at a specified position within the chrome window. But it would have the disadvantage that it would only work if the jango tab is active and will of course fail if the site changes it's layout and probably due to a lot other reasons.
So I'm thinking about generating kind of the same http request as the browser does if one clicks the button for real. Or somehow accessing the html elemnt
Please consider thatm while having a C/++ background, I lack any web/JS programming skills and would be in favor keeping it this way as much as possible.
Thank you for any suggestions!
The solution is to use an user script for the musik player web site which is able to trigger the buttons in question. Than websockets can be used to communicate between the user script and the c++ server program.