Handle element placeholder
This commit is contained in:
		| @ -54,6 +54,15 @@ function register ({ registerHook, peertubeHelpers }) { | ||||
|   }) | ||||
|  | ||||
|   peertubeHelpers.notifier.info('you are on the watch page', 'useless', 1000) | ||||
|  | ||||
|   // Insert element next to the player | ||||
|   { | ||||
|     const elem = document.createElement('div') | ||||
|     elem.className = 'hello-world-h4' | ||||
|     elem.innerHTML = '<h4>Hello everybody! This is an element next to the player</h4>' | ||||
|  | ||||
|     document.getElementById('plugin-placeholder-player-next').appendChild(elem) | ||||
|   } | ||||
| } | ||||
|  | ||||
| export { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user