Chèn Audio và Video trong Drupal với TinyMCE's Media Plugin

Chèn Audio và Video trong Drupal với TinyMCE's Media Plugin

If you have TinyMCE installed on your Drupal site, you have all you need to upload and play audio and video files. CMS Drupal, Audio, Video, TinyMCE's Media Plugin

The Media module is a good option for sites with more advanced audio and video needs, but if your needs are straightforward, then TinyMCE will work for you.

In this tutorial, we're going to show you how to upload and display an .mp3 audio file and a .swf video file inside Drupal content.

Step 1: Make sure you have TinyMCE and IMCE installed

tutuploadsmedia_1338352560572.png

Step 2: Activate the TinyMCE buttons and plugins

  • Go to Configuration > Content authoring > Wysiwyg profile manager.
  • Click Edit on the profiles that you use.
  • Check Advanced Image.
  • Check IMCE.
  • Check Media.
  • Scroll to the bottom and click Save.
tutuploadsmedia_1338352732797.png

Step 3: Usign the TinyMCE media option

  • Go to Content > Add New and create a page, article or other content type that will use the editor.
  • Click the filmstrip icon.
  • Choose HTML5 Audio from the dropdown box.
tutuploadsmedia_1338353173110.png
  • Click the Browse Icon.
  • If you've installed IMCE you will be able to see this icon. If you don't see it, you need to install IMCE.
tutuploadsmedia_1338353440379.png
  • Choose a directory to upload to.
  • Click Upload.
  • Choose the file to upload from your computer.
tutuploadsmedia_1338353531311.png
  • Highlight the file.
  • Click Insert File.
  • Go to the Advanced tab.
tutuploadsmedia_1338353638344.png
  • Configure the player.
  • Be sure to at least choose Controls by checking the box.
  • Save your work.
  • View the result on your website.
tutuploadsmedia_1338353705847.png
  • You'll see the audio player on your site.
  • Repeat the process for the video.
tutuploadsmedia_1338353842008.png
  • This time choose Flash.
  • Search for a swf file.
  • Adjust the advanced tab.
  • Insert the file.
  • Save.
 
tutuploadsmedia_1338357622259.png
Congratulations. You've now inserted both the audio file and the swf file into the content.

tutuploadsmedia_1338357771044.png

 

Bạn thấy bài viết này như thế nào?: 
No votes yet
Ảnh của Tommy Tran

Tommy owner Express Magazine

Drupal Developer having 9+ year experience, implementation and having strong knowledge of technical specifications, workflow development. Ability to perform effectively and efficiently in team and individually. Always enthusiastic and interseted to study new technologies

  • Skype ID: tthanhthuy

Tìm kiếm bất động sản

 

Advertisement

 

jobsora

Dich vu khu trung tphcm

Dich vu diet chuot tphcm

Dich vu diet con trung

Quảng Cáo Bài Viết

 

Facebook thanh lọc, hàng loạt fanpage giải trí “chết nhăn răng”

Từ chiều ngày hôm 13/1, cộng đồng admin fanpage Việt Nam nháo nhào khi hàng loạt fanpage lớn bị khóa không rõ lí do. Những fanpage bị block trong đợt thanh lọc này có lượng like từ vài chục nghìn cho tới cả gần triệu lượt like.

Trang thời tiết Weather Channel’s Journey chuyển sang Drupal

Trang thời tiết Weather Channel’s Journey chuyển sang Drupal

When my business partner, Paul Chason, and I joined forces over seven years ago we had a rather simple vision for Mediacurrent.

Phần 1 - Custom Image Search với Solr, Filefield Sources và CtoolsPhần 1 - Custom Image Search với Solr, Filefield Sources và CtoolsPhần 1 - Custom Image Search với Solr, Filefield Sources và Ctools

Phần 1 - Custom Image Search với Solr, Filefield Sources và Ctools

As I mentioned above, I also wanted to index metadata about the image to allow for better searching, so I needed to find a way to store that data.

Công ty diệt chuột T&C

 

Diet con trung