Skip to content

Commit

Permalink
Merge pull request #85 from rajnishdargan/8.0.0
Browse files Browse the repository at this point in the history
Issue #Q-768 fix : Audio is audible if user move to next question or next page
  • Loading branch information
sajeshkayyath authored May 2, 2024
2 parents 6ffd301 + b130541 commit 712eddb
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/quml-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-quml-player",
"version": "8.0.0",
"version": "8.0.1",
"schematics": "./schematics/collection.json",
"ng-add": {
"save": "dependencies"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,5 +348,8 @@ export class ViewerService {
pauseVideo() {
const videoElements = Array.from(document.getElementsByTagName('video') as HTMLCollectionOf<Element>);
videoElements.forEach((element: HTMLVideoElement) => element.pause());

const audioElements = Array.from(document.getElementsByTagName('audio') as HTMLCollectionOf<Element>);
audioElements.forEach((element: HTMLVideoElement) => element.pause());
}
}
2 changes: 1 addition & 1 deletion web-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-quml-player-web-component",
"version": "4.0.0",
"version": "4.0.1",
"description": "The web component package for the sunbird QuML player",
"main": "sunbird-quml-player.js",
"scripts": {
Expand Down
2 changes: 2 additions & 0 deletions web-component/sunbird-quml-player.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 712eddb

Please sign in to comment.