This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249330

Summary: HTML5 audio loop does not work with internal server
Product: web Reporter: Onnyxxx
Component: HTML ProjectAssignee: Tomas Mysik <tmysik>
Status: NEW ---    
Severity: normal CC: dkonecny
Priority: P3    
Version: 8.0.1   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: IDE log

Description Onnyxxx 2014-12-13 03:53:36 UTC
Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_67
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.65-b04

<Audio loop> tag not work is only play that one time, when press run project
<audio autoplay loop>
  <source src=...>
  <source src=...>

</audio>
I presume problem is in that conector. Conector or something in Construct2 play many things so not my computer.
Comment 1 Onnyxxx 2014-12-13 03:53:40 UTC
Created attachment 151085 [details]
IDE log
Comment 2 Vladimir Riha 2014-12-14 14:46:41 UTC
Reproducible, seems to be caused by IDE's internal server used for HTML5 projects as it does not work neither with Chrome Connector nor without it. The same works with Apache HTTP server. One thing I noticed is that Apache returns the mp3 with 206 HTTP code while internal server serves it with 200 but I have no idea if it matters...

Reassigning to HTML project. Tomasi, please reassign if necessary. I'm not sure if there is a category for the internal server... Thank you


Product Version: NetBeans IDE Dev (Build 201412120001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Linux version 3.13.0-43-generic running on amd64; UTF-8; en_US (nb)
Comment 3 Tomas Mysik 2014-12-15 07:34:24 UTC
Unfortunately, likely noone I can reassign this issue to... If David (the author of the internal webserver) wants to look at it, feel free to do it ;)

Thanks.
Comment 4 Tomas Mysik 2015-04-24 05:36:31 UTC
IMHO works as designed, it means to just serve the static web pages. Will try to look at it what would mean to be able to serve audio and video as well.

Thanks for reporting.