Skip to content

Commit

Permalink
Update mediaSlider.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ledangtrung committed Dec 1, 2024
1 parent 7a6a165 commit 2b6f972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/mediaSlider.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ class MediaSlider {
case 'office':
return `<iframe src="https://docs.google.com/viewer?url=${encodeURIComponent(url)}&embedded=true"></iframe>`;
default:
return `<div>Unsupported media type</div>`;
return `<iframe src="https://docs.google.com/viewer?url=${encodeURIComponent(url)}&embedded=true"></iframe>`;
}
}

Expand Down

0 comments on commit 2b6f972

Please sign in to comment.