mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-01-20 15:22:58 -05:00
feat: add right-click context menu with share/embed options on video player
- Add VideoContextMenu component with copy URL, URL with timestamp, and embed code options - Integrate context menu into VideoJSPlayer with proper event handling - Add visual feedback via SeekIndicator when copying URLs/embed code - Support embed mode with showTitle URL parameter handling - Handle cross-origin iframe scenarios for embed URL generation - Add helper functions for media ID, origin, and embed URL resolution
This commit is contained in:
21
__test-iframe/index.html
Normal file
21
__test-iframe/index.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<html>
|
||||
<body>
|
||||
<h2>Embed Video with showTitle=0</h2>
|
||||
<iframe
|
||||
width="560"
|
||||
height="315"
|
||||
src="http://localhost/embed?m=6WShYNxZx&showTitle=0"
|
||||
frameborder="0"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
|
||||
<h2>Embed Video with showTitle=1</h2>
|
||||
<iframe
|
||||
width="560"
|
||||
height="315"
|
||||
src="http://localhost/embed?m=SOgLTsrAH&showTitle=1"
|
||||
frameborder="0"
|
||||
allowfullscreen
|
||||
></iframe>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user