summaryrefslogtreecommitdiffstats
path: root/extensions/tinymce/examples/lists/media_list.js
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/tinymce/examples/lists/media_list.js')
-rw-r--r--extensions/tinymce/examples/lists/media_list.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/extensions/tinymce/examples/lists/media_list.js b/extensions/tinymce/examples/lists/media_list.js
new file mode 100644
index 0000000..3a3836c
--- /dev/null
+++ b/extensions/tinymce/examples/lists/media_list.js
@@ -0,0 +1,10 @@
+// This list may be created by a server logic page PHP/ASP/ASPX/JSP in some backend system.
+// There flash movies will be displayed as a dropdown in all media dialog if the "media_external_list_url"
+// option is defined in TinyMCE init.
+
+var tinyMCEMediaList = [
+ // Name, URL
+ ["Some Flash", "media/sample.swf"],
+ ["Some Quicktime", "media/sample.mov"],
+ ["Some AVI", "media/sample.avi"]
+]; \ No newline at end of file