Skip to main content
Inspiring
September 7, 2015
質問

createjs sound works good my pc , becomes blank after uploading server

  • September 7, 2015
  • 返信数 3.
  • 424 ビュー

My simple interactive createjs animation working good in my pc. but it shows blank once i load it to server

http://graphicscoder.org/test/wew/btn_loop_codesnippet.html

code is very simple . i just exported sound  as well as other images so it added this extra two line of code

function playSound(id, loop) {

  createjs.Sound.play(id, createjs.Sound.INTERRUPT_EARLY, 0, 0, loop);

}

everything is ok. no issue . running well in my pc with sound . but becomes blank canvas once i upload it to server. my server is ok.

my previous version without sound export running well in my server. so the issue is sound with server . its really strange.

このトピックへの返信は締め切られました。

返信数 3

Inspiring
September 11, 2015

Open the browsers dev tools (F12 in Chrome) and look in console, network etc. for errors.

Inspiring
September 7, 2015

yes. i uploaded all correctly . its really strange . the server does not support createjs sound .

robdillon
Participating Frequently
September 7, 2015

The server has nothing to do with it. The server is just a location where the files are stored. When you call for the html document from the server, your local browser downloads the individual files and then runs them. If you have all of the necessary javascript libraries available from the server, your browser will download them and run them.

Check to be sure that everything is spelled correctly including the case of each part of the path.

robdillon
Participating Frequently
September 7, 2015

Did you also upload the folders "images" and "sounds" as well as the javascript files to the server?