Login / Status
developer.Resource
Home . Documentation . Document Library . Extension Manuals
Sponsors
hosted by punkt.deTYPO3 and Open Source Magazine

1.7. Administration (Plugin)

It is also possible to use a standalone plugin to show your media files which has the big advantage that you don't need any dummy file as in the content elements.

Image: The plugin of rgmediaimages

Insert the plugin in your page and choose in the dropdown what you want to show. 3 options are available:

  1. External Files: Choose this option to show external files. This are all files from foreign servers like youtube & co but can also be a FLV file on the server of your friend.

  2. Internal Files: Choose this option if you got your files somewhere inside your fileadmin-folder. Don't forget that the file will be copied to uploads/tx_rgmediaimages!

  3. RTMP-Streams: Use this option for RTMP-Streams or if you want to show a playlist.

Configuration

  1. To show external media files you just need to add the urls of the videos line by line. It is also possible to set a caption for every media file (also splitted line by line).

  2. Internal files are embedded in the same way as external files but you just need to select the files through the Element Browser

  3. If you want to use a playlist or the RTMP-Streams you add the urls line by line as in the external media files. The additional field “Description” can be used to set a description for a single media file.

Reference

Property:

Data type:

Description:

Default:

width

int

Default width of the videos.

height

int

Default height  of the videos.

mode

string

The mode which is used. Available options are EXTERNAL, INTERNAL, RTMP

caption

stdWrap

stdWrap-functionality for the single caption

stdWrap.dataWrap = <div class="rgmediaimages-caption">|</div>

singleMedia

stdWrap

stdWrap for the the video including the caption

stdWrap.dataWrap = <div class="rgmediaimages-media" style="width:{field:tx_rgmediaimagesWidth}px;">|</div>

videoWrapIfAny

stdWrap

stdWrap for all videos in one plugin.

external

string

A list of external urls to media files

caption

string

The caption for the media files.

swfobj

boolean

Usage of the SWF Object

rtmp

string

The description for rtmp streams or playlists.

pathToCSS

string

Path to a css file for styling

EXT:rgmediaimages/res/styles.css

use1PixelOut

boolean

Usage of the 1pixelout mp3 player instead of the JW FLW Player.

For configuration of the player, take a look at the chapter Administration (1pixelout mp3 player). Same options. Usage like

plugin.tx_rgmediaimages_pi1.confmp3.bg = 000000

1

[tsref:plugin.tx_rgmediaimages_pi1]

Additional information

The following data is available in TS for the stdWrap functions:

  1. tx_rgmediaimagesWidth: The width of the file

  2. tx_rgmediaimagesHeight: The height of the file

  3. tx_rgmediaimagesUrl: The url to the file (not available if RTMP is chosen).