angular-soundmanager2 icon indicating copy to clipboard operation
angular-soundmanager2 copied to clipboard

Progress bar issue. If i click on the progress bar then it is playing from the beginning.

Open RameshNaikAspect opened this issue 7 years ago • 1 comments

Hi, I have used AngularJS sound manager(<sound-manager></sound-manager>). While playing If i click on the progress bar then it is playing from the beginning, how do i start from the selected position. This is my HTML code: <sound-manager></sound-manager> <div class="mv-vmPlayer"> <ul> <li><button id="playPreviousTrack" ng-attr-title="{{localize.ux.messageViewer.PlayPrev_btn_label}}" ng-click="widget.onPlayPrevVMClick()" ng-disabled="widget.playPrevDisable"><i class='icon-arrow-left'></i></button></li> <li><button id="playNextTrack" ng-attr-title="{{localize.ux.messageViewer.PlayNext_btn_label}}" ng-click="widget.onPlayNextVMClick()" ng-disabled="widget.playNextDisable"><i class='icon-arrow-right'></i></button></li> <li><button ng-click="widget.pauseTrack()" ng-attr-title="{{localize.ux.messageViewer.Pause_btn_label}}" ng-disabled="!widget.isPlaying"><i class='icon-pause'></i></button></li> <li><button id="playTrack" ng-attr-title="{{localize.ux.messageViewer.Play_btn_label}}" ng-click="widget.onPlayVMClick()" ng-disabled="widget.playDisable"><i class='icon-play'></i></button></li> <span id="spnEmbedTag"></span> <!--<li><button id="widget.playVM" ng-click="widget.onPlayVMClick()" ng-disabled="widget.playDisable"><i class='icon-play'></i></button>--> <li><label>&nbsp;</label></li> <li><label>&nbsp;</label></li> <li><label>&nbsp;</label></li> <li><label>{{ widget.currentPosition }}</label></li> <li> <div class="seekBase" seek-track> <div id= "seekLoad" class="seekLoad mv-blue" ng-style="widget.progressVMStyle"></div> </div> </li> <li><label id="currDur">{{ currentDuration }}</label></li> <li><label>{{ widget.fileName }}</label></li> <li class="lastli"><button id="chngPin" ng-attr-title="{{localize.ux.messageViewer.ChangePin}}" ng-click="widget.onChangePinOpen()"><i class='glyph-password'></i></button></li> </ul> </div>

Can some one help me on this ?

RameshNaikAspect avatar Aug 11 '17 09:08 RameshNaikAspect

I see that the issue is with the Query related URLs. like below: "http://localhost:58161/Demo/downloadFile?key=voicemail/11&filename=ovapeeecc00964b2ee4c8c8011e78d1c5dda72efd945.wav&Authorization=Bearer%20e088bcfa-3b8c-4dea-84a8-a8519443d8a0"

soundmanager2 doesn't support query urls ?

If not can someone suggest me the solution for it ?

RameshNaikAspect avatar Oct 11 '17 07:10 RameshNaikAspect