mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-10-06 22:32:41 +07:00
fix: Video.js improve browser/device compatibility, fixes and a lot improvements
This commit is contained in:
@@ -45,6 +45,11 @@ class AutoplayCountdownOverlay extends Component {
|
||||
nextVideoThumbnail
|
||||
? `<div class="next-video-thumbnail">
|
||||
<img src="${nextVideoThumbnail}" alt="${nextVideoTitle}" />
|
||||
<div class="play-overlay">
|
||||
<svg viewBox="0 0 24 24" width="28" height="28" fill="currentColor">
|
||||
<path d="M8 5v14l11-7z"/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>`
|
||||
: ''
|
||||
}
|
||||
@@ -199,6 +204,11 @@ class AutoplayCountdownOverlay extends Component {
|
||||
nextVideoThumbnail
|
||||
? `<div class="next-video-thumbnail">
|
||||
<img src="${nextVideoThumbnail}" alt="${nextVideoTitle}" />
|
||||
<div class="play-overlay">
|
||||
<svg viewBox="0 0 24 24" width="28" height="28" fill="currentColor">
|
||||
<path d="M8 5v14l11-7z"/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>`
|
||||
: ''
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user