Skip to content

Commit

Permalink
Resolved incorrect media reference in player
Browse files Browse the repository at this point in the history
  • Loading branch information
clpetersonucf committed Apr 22, 2024
1 parent 5a0252f commit 38d0bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/player.html
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ <h1 id="question" ng-bind-html="title"></h1>
</button>
<!-- the div version of the frame: for images, audio and video -->
<div class="content-frame"
ng-if="answers[1].options.asset.type === 'audio' || answers[1].options.asset.type === 'video' || answers[0].options.asset.type === 'image'"
ng-if="answers[1].options.asset.type === 'audio' || answers[1].options.asset.type === 'video' || answers[1].options.asset.type === 'image'"
data-title="{{answers[1].text}}" aria-label="{{question.selected ? ((question.correct[1] == 'Correct!' || question.correct[0] == 'Incorrect' ? 'Correct answer, ' : 'Incorrect answer, ') + answers[1].options.feedback) : ''}}"
ng-attr-inert="{{question.selected || lightboxTarget >= 0 ? 'true' : undefined}}">
<div aria-hidden="true">
Expand Down

0 comments on commit 38d0bf1

Please sign in to comment.