Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

backend audio player fixes

  • Loading branch information...
commit 9db4b7ea142e9ab87eb777e051d0c796628de0ea 1 parent 2d665db
Abdul Rauf authored
View
2  app/assets/javascripts/gb_360player.js
@@ -1023,7 +1023,7 @@ function ThreeSixtyPlayer() {
for (i=0,j=oItems.length; i<j; i++) {
oLinks.push(oItems[i].getElementsByTagName('a')[0]);
// remove "fake" play button (unsupported case)
- oItems[i].style.backgroundImage = 'none';
+ //oItems[i].style.backgroundImage = 'none';
}
// grab all links, look for .mp3
View
6 app/assets/javascripts/gb_application.js
@@ -889,11 +889,9 @@ Array.prototype.remove= function(){
function setUpAudio(){
soundManager.setup({
useFlashBlock: true, // optional - if used, required flashblock.css
- url: '/swf/', // required: path to directory containing SM2 SWF files
- debugMode: false
+ url: '/assets/gb_swf/', // required: path to directory containing SM2 SWF files
+ debugMode: true
});
- // basicMP3Player = new BasicMP3Player();
- // console.log(basicMP3Player)
}
function setUp360(){
View
5,818 app/assets/javascripts/gb_soundmanager2-jsmin.js
5,715 additions, 103 deletions not shown
View
BIN  app/assets/javascripts/gb_swf/soundmanager2.swf
Binary file not shown
View
BIN  app/assets/javascripts/gb_swf/soundmanager2_debug.swf
Binary file not shown
View
BIN  app/assets/javascripts/gb_swf/soundmanager2_flash9.swf
Binary file not shown
View
BIN  app/assets/javascripts/gb_swf/soundmanager2_flash9_debug.swf
Binary file not shown
View
BIN  app/assets/javascripts/gb_swf/soundmanager2_flash_xdomain.zip
Binary file not shown
View
2  app/assets/stylesheets/gb_360player.css
@@ -62,7 +62,7 @@
.ui360 a:hover,
.ui360 a:focus {
- background:#eee;
+ /*background-color:#eee;*/
border-radius:3px;
outline:none;
}
View
8 app/views/gluttonberg/admin/asset_library/shared/_asset_panels.html.haml
@@ -36,10 +36,10 @@
%td
- if asset.category == 'audio'
- .sm2-inline-list
- .ui360
- %a{:href => "#{asset_url(asset)}", :target => "_blank" , :class => ""}
- = asset.name
+ /.sm2-inline-block
+ .ui360
+ %a{:href => "#{asset_url(asset)}", :target => "_blank" , :class => ""}
+ Play
- elsif asset.category == 'image'
%a{:href => admin_asset_url(asset), :class => "thumbnail"}
%img{:src => asset.thumb_small_url }
Please sign in to comment.
Something went wrong with that request. Please try again.