Sunday, October 19, 2014

How to use safari to play music in Google Play Music

Recently, I discovered that Safari (7.0.6) is not playing music from Google Play Music website. Whenever I try to listen something I got the following error.
I thought it is due to Power Saver, a new feature of safari to reduce energy use. Whit this feature it blocks flash working in background. But in some cases as in this one it also blocks the ones you actually want to work. You can disable Power Saver all together or you can program it such that it will not work on some web site. I will show you how to disable it only for certain websites which is google play music for this case.

Steps:
1. Open Google Play Music website (music.google.com)
2. Log in
3. Click to a song or radio to listen
4. You will get the error as shown above
5. Go to Error Console by clicking command + alt + C  if your developer menu is not enabled follow steps on this link to enable developer menu first
6. Then copy and paste following code into command menu

  1. var jq = document.createElement('script');
  2. jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js";
  3. document.getElementsByTagName('head')[0].appendChild(jq);
  4. // Wait 3 seconds.
  5. setTimeout(function() {
  6.   jQuery.noConflict();
  7.   jQuery('#embed-container embed').css({
  8.     'height' : '800px',
  9.     'width'  : '800px'
  10.   });
  11. }, 3000);

7. A large white box will appear. Refresh the page several times. And the song should start playing. If not restart safari and try steps starting from the first one.

A way to check wether this trick worked is to

1. Go to menu bar  Safari>Preferences
2. Go to advanced tab
3. Click details in field Internet Plug ins
4. You should see play.google.com on the exception list (i wish there is an add bottom on that list. That way would be much easier)

Lastly I want to acknowledge the source where I find this method. I found this from another blog https://grahamwalters.me/2014/02/24/how-to-fix-google-play-music-not-playing-in-safari/

If my explanation is not enough for you give a check to  this blog.





Activity Window on Safari 6 and higher

Hi there. Today I want to share my experience with safari 6, newest version of apple’s web browser. First of all I like the unified adressbar. Although it is a catchup I think they implement it better than chrome. Because in chrome when you have too many tabs you can’t see the title of the page you are browsing. Anyway I am writing this post for something else. It is weird that I realize the lack of activity window just in an hour. cmd+option+a doesn’t pop up activity window anymore. But it is still there, although it is changed a little bit, they just hide it. To activate it again.

 In menu bar go to Safari>Preferences…

 Than in advanced tab click “Show Developer Menu in menu bar” And it is done.

You can use “cmd+option+a” or reach it through menu Develop>Show Page Resources

 I know that safari 6 is our for sometime. Now even version number is 7. This post originally published on my old blog oaringcore.worldpress.com in August 2012. I copied it to here because for another post I need explanation.

Trying to include webp to PDF

 Trying to include webp to PDF