You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+6
Original file line number
Diff line number
Diff line change
@@ -237,6 +237,12 @@ Boolean. Embed media in-place if true, or at some specified place if false.
237
237
238
238
Default: `true`.
239
239
240
+
#### isAllowedHttp
241
+
242
+
Boolean. When `true` embed media with `http://` schema in URLs. When `false` ignore and don't count as embeddable media.
243
+
244
+
Default: `false`.
245
+
240
246
#### isAllowedMimeType
241
247
242
248
Function. If specified, allows to decided basing on the MIME type, wheter to embed element or not. If not, all audio/video content is embedded. In a web browser you can use following code to embed only supported media type:
Your browser does not support playing HTML5 video. You can <a href="http://example.com/file.webm" download>download a copy of the video file</a> instead.
Your browser does not support playing HTML5 video. You can <a href="http://example.com/file.webm" download>download a copy of the video file</a> instead.
0 commit comments