You are here

README.txt in Media 23video 7

Media 23Video

Creates a 23Video PHP Stream Wrapper for Resource and implements the various
formatter and file listing hooks in the Media module.

Prerequisites
-------------
The media_23video requires the media and media_internet to be installed.

Installation
------------
To install, copy the media_23video directory and all its contents to your
modules directory.

Configuration
-------------
To enable this module, visit administer -> modules, and enable media_23video.

Usage
-------------
## File fields

- Add a new "file" type field to your content type or entity. Choose the widget
  type "Multimedia browser". You can also select an existing file field.
- While setting up the field (or after selecting "edit" on an existing field)
  enable:
    - Enabled browser plugins: "Web"
    - Allowed remote media types: "Video"
    - Allowed URI schemes: "media-23video:// (23video videos)"

- On "Manage display" for the file field's content or entity type, choose
  "Rendered file" and a view mode.
- Set up 23video video formatter options for each view mode in Structure ->
  File types -> Manage file display. This is where you can choose size, autoplay
  and etc.
- When using the file field while creating or editing content, paste a 23video
  video url into the Web tab.


## WYSIWYG inserts

- Enable the Media module "Media insert" button on your WYSIWYG profile.
- Enable "Convert Media tags to markup" filter in the appropriate text formats.
- Configure any desired settings in Configuration -> Media -> "Media browser
  settings"
- Set up 23video video formatter options in Structure -> File types -> Manage
  file display. **Note:** for any view mode that will be used in a WYSIWYG,
  enable both the 23video video and preview image formatter. Arrange the Video
  formatter on top. This allows the video to be used when the content is viewed,
  and the preview when the content is being edited.

- When editing a text area with your WYSIWYG, click the "Media insert" button,
  and paste a 23video video url into the Web tab of the media browser.

File

README.txt
View source
  1. Media 23Video
  2. Creates a 23Video PHP Stream Wrapper for Resource and implements the various
  3. formatter and file listing hooks in the Media module.
  4. Prerequisites
  5. -------------
  6. The media_23video requires the media and media_internet to be installed.
  7. Installation
  8. ------------
  9. To install, copy the media_23video directory and all its contents to your
  10. modules directory.
  11. Configuration
  12. -------------
  13. To enable this module, visit administer -> modules, and enable media_23video.
  14. Usage
  15. -------------
  16. ## File fields
  17. - Add a new "file" type field to your content type or entity. Choose the widget
  18. type "Multimedia browser". You can also select an existing file field.
  19. - While setting up the field (or after selecting "edit" on an existing field)
  20. enable:
  21. - Enabled browser plugins: "Web"
  22. - Allowed remote media types: "Video"
  23. - Allowed URI schemes: "media-23video:// (23video videos)"
  24. - On "Manage display" for the file field's content or entity type, choose
  25. "Rendered file" and a view mode.
  26. - Set up 23video video formatter options for each view mode in Structure ->
  27. File types -> Manage file display. This is where you can choose size, autoplay
  28. and etc.
  29. - When using the file field while creating or editing content, paste a 23video
  30. video url into the Web tab.
  31. ## WYSIWYG inserts
  32. - Enable the Media module "Media insert" button on your WYSIWYG profile.
  33. - Enable "Convert Media tags to markup" filter in the appropriate text formats.
  34. - Configure any desired settings in Configuration -> Media -> "Media browser
  35. settings"
  36. - Set up 23video video formatter options in Structure -> File types -> Manage
  37. file display. **Note:** for any view mode that will be used in a WYSIWYG,
  38. enable both the 23video video and preview image formatter. Arrange the Video
  39. formatter on top. This allows the video to be used when the content is viewed,
  40. and the preview when the content is being edited.
  41. - When editing a text area with your WYSIWYG, click the "Media insert" button,
  42. and paste a 23video video url into the Web tab of the media browser.