Fix annotations on firefox
This commit is contained in:
		| @ -19,7 +19,7 @@ export function buildPlayer (video, player, videojs) { | ||||
| } | ||||
|  | ||||
| function parseAnnotations (annotationsText) { | ||||
|   const splitted = annotationsText.split('\n\n') | ||||
|   const splitted = annotationsText.split(/\n\r?\n\r?/) | ||||
|  | ||||
|   return splitted.map(s => buildAnnotation(s)) | ||||
|                  .filter(a => !!a) | ||||
|  | ||||
| @ -1,7 +1,7 @@ | ||||
| { | ||||
|   "name": "peertube-plugin-video-annotation", | ||||
|   "description": "PeerTube plugin video annotation", | ||||
|   "version": "0.0.2", | ||||
|   "version": "0.0.3", | ||||
|   "author": "Chocobozzz", | ||||
|   "bugs": "https://framagit.org/framasoft/peertube/peertube-plugin-video-annotation/issues", | ||||
|   "clientScripts": [ | ||||
|  | ||||
		Reference in New Issue
	
	Block a user