TinyMCE - Upload images, media and documents to your own server - tinymce

I am using TinyMCE for publishing articles in some journalistic and cultural portals.
As for the media (images, audio, video, documents), everything will have to be uploaded and managed internally, without using external links to services such as YouTube and TinyPIC, which I have no control over to ascertain the permanence of the media.
I was already using the images_upload_url option for images but I cannot find a similar option for all other media or a general option that works for all media types.
For some current sites I am using the external responsivefilemanager plugin but I was hoping that in future releases of TnyMCE an internal option similar to images_upload_url would be integrated.
Is this an option I can't find or has it not yet been integrated and responsivefilemanager still needs to be used?

I recently had the same question, turns out if you are using a paid plan for TinyMCE, you could use their TinyDrive plugin & a TinyCloud account.
This allows to upload images, files and medias, plus it better integrates with their tools (ie you have a nice UI to access uploaded files by your text editor)
It may answer your need! I give you the link to their documentation: https://www.tiny.cloud/docs/tinymce/6/tinydrive-introduction/. You have a nice example on this page, to try it :
Click on the Upload icon and upload your video
Click on Insert > Media > General
Click on the Upload icon and here is your video that you can add to your text content
Have a great day,

Related

Load PDFs from local file share

I'm developing a web app for in-house use and I'm looking for a better way to display PDFs.
I've played around with Adobe's 'Work with Local File' example from GitHub, Adobe GitHub Example, and it works great using the file picker to display a PDF. Is it possible with Adobe's PDF Embed API to take a file located on a local file share and display the PDF?
I'm thinking I need to create a file promise but I'm not sure how to create that.
Unless you can make a network request to load the PDF, the answer is no. Browsers generally can't read from local files unless a user action actually picks the file. If your local share can be made accessible via HTTP, then you would be good to go.

Umbraco 8 - Upload and Embed Videos from Local File

What I'm trying to achieve is to upload a video to the Media section in Umbraco 8 CMS and embed then choose the video to embed in Content, just like what is normally done with images. The video can be .mp4/.avi etc.
Looks like Umbraco 8 only supports YouTube and Vimeo videos, but that's not ideal in my case.
Umbraco 8 supports a lot more than YouTube and Vimeo out of the box: https://our.umbraco.com/apidocs/v8/csharp/api/Umbraco.Web.Media.EmbedProviders.html
If there IS an external provider you'd like to use, but it isn't in the list above, it's possible to create your own embed provider to make the Embed dialog support it. As long as it supports OEmbed it shouldn't be crazy complicated to do, I think. Have a look here: https://our.umbraco.com/documentation/extending/Embedded-Media-Provider/
In case you are simply not able to use an external video service, you probably have to do something like what is mentioned here: https://our.umbraco.com/forum/using-umbraco-and-getting-started/84626-inserting-video-banners-in-umbraco (in short, create a Media Picker property on your document type and handle it in the template like Micha describes)
In umbracoSettings.config file there's a section disallowedUploadFiles. Is Mp4 in there? You should be able to do this
There is also a max file size, so maybe check your vide is under that as well

TinyMCE 5 - Is there a way to accept only uploaded Image, using the "image" plugin?

I want to allow uploaded images only, not images linked from external websites. Is there a way to only display the "Upload" section of the "image" plugin/dialog?
The image plugin does not have a built in configuration option to do what you want. As TinyMCE is released under an open source license you could certainly modify the code of that plugin to get your desired outcome.

Upload images with tinyMce

I have this plugin advImage which I use in tinyMce. I want the user to be able to upload images from his own computer. However, the plugin only allows images which are on the server to be uploaded. How can I change this? If I choose an image from my desktop for uploading, the path is Content/documents/editorImages/myImage.jpg. How to change this?
This might be what you are looking for. Give it a try.
There exists a plugin named MCImageManager from the developers of tinymce, but this is not free.

Image bank folder with Plone on multilingual site, browseable from TinyMCE 1.3

I'd like to create an image bank folder in Plone
All photos are uploaded here by default (even from TinyMCE)
All photos are language neutral by default: can be set per type with LinguaPlone somehow? To be shared across languages.
Album view (easy)
The folder is in site root below /en, /de etc. language folders and browseable from TinyMCE (the latest beta)
What suggestion and experience you have from the set-up described above? The goal is to have fool-proof setup that
The site users always upload photos to the same folder
The site users always start browser "Add image" from the the same folder
To not fight against the framework I would try a synchronization between photos repositories of each languages.
/en/photos
/fr/photos
/xx/photos
If photos are uploaded under one of them, copy it to others as the translation of the created one.
It will be easier than playing outside of navigationroot, tinymce, ...
Just to do the follow up.
This problem has been now solved:
http://opensourcehacker.com/2012/08/03/adding-custom-shortcut-links-to-tinymce-dialogs-in-plone/