Shared video / audio
This field embeds into items, a media (video/audio) player from shared video sites like YouTube, Vimeo, Dailymotion, Vevo, Hulu, Metacafe, etc and audio site like soundclound, last.fm, etc. Media references (field values) can be added to this field, by just copying the URL of the original media page, the media information is fetched (title, author, description, etc) and a preview player is embeded when field is viewed. The field configuration allows to control what information is displayed, as well as the player dimensions. Except for YouTube, Vimeo and Dailymotion, the fetching capability is based on embed.ly service, which is free for up to 5,000 URLs per month. It is recommended to get and enter your own embed.ly API key.
Plugin : sharedmedia — Shared Video/Audio
:::info Source
This page is generated from plugins/flexicontent_fields/sharedmedia/sharedmedia.xml and the official FLEXIcontent 5.x language files.
:::
Editing
Editing
Values
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Use field in a groupuse_ingroup | Enable to allow field to be part of field group, that is created via 'Field Group' field. NOTE: You should then select this field in ONLY ONE field group | multilist | 0 = No1 = Yes | 0 (No) |
Number of values
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show Onshowon | Shown On Conditions. Use Joomla Format 'fieldname:value' e.g album_type:2 NOTE: DO not set this field to required. Also DISABLE prettyCheckable / Select2 JS in any referenced fields of type select*, checkbox*, radio* | text | — | — |
Requiredrequired | Choose yes if the field must be filled | radio | 0 = No1 = Yes | 0 (No) |
Allow multiple valuesallow_multiple | Allow more than 1 value for this field | multilist | 0 = No1 = Yes | 0 (No) |
max # valuesmax_values | The max number of values you wish to record | text | — | 0 |
Values per rowfields_box_placing | Save space by allowing multiple values to show per row | radio | 0 = 11 = Multiple | 0 (1) |
Add positionadd_position | Select to add value inline (show add button at every value) or append them to the bottom of the value list | multilist | 0 = Append to bottom1 = Inline append2 = Inline prepend3 = Inline both | 3 (Inline both) |
Form field
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display labeldisplay_label_form | Display or hide label of this field | radio | 0 = No1 = Floated left2 = Cleared | 1 (Floated left) |
Labellabel_form | Enter a label to use for item form that is different than field label for viewing | text | — | — |
No access messageno_acc_msg_form | Leave this blank to use system's default no access message, or enter a custom message for this field | text | — | — |
Card width (px)form_card_width | Width of the video card in the item edit form, in pixels | text | — | 250 |
Optional Properties
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Titledisplay_title_form | Display title field in edit form | radio | 0 = Hide2 = Show1 = Edit | 1 (Edit) |
Authordisplay_author_form | Display author field in edit form | radio | 0 = Hide2 = Show1 = Edit | 1 (Edit) |
Descriptiondisplay_description_form | Display description field in edit form | radio | 0 = Hide2 = Show1 = Edit | 1 (Edit) |
Player dimensionsdisplay_edit_size_form | Allow user to set specific media player dimensions per media | radio | 0 = Hide2 = Show1 = Edit | 1 (Edit) |
Advanced information
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Embed method / APIdisplay_api_type_form | Display Embeed method/API field in edit form | radio | 0 = Hide2 = Show | 0 (Hide) |
Embed URLdisplay_embed_url_form | Display ID field in edit form | radio | 0 = Hide2 = Show | 0 (Hide) |
Media IDdisplay_media_id_form | Display ID field in edit form | radio | 0 = Hide2 = Show | 0 (Hide) |
Durationdisplay_duration_form | Display duration field in edit form NOTE: this information is available via native APIs but not with embed.ly) | radio | 0 = Hide2 = Show | 0 (Hide) |
Editing
Viewing
Viewing
Basic
Display
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show in clientsshow_in_clients | Select if the field will be created and shown to specific clients | fccheckbox | — | — |
Show in viewsshow_in_views | Select if the field will be created and shown to specific views | fccheckbox | — | — |
Label and access
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Display labeldisplay_label | Display or hide label of this field | radio | 0 = No1 = Yes | 1 (Yes) |
Show no access messageshow_acc_msg | When field is inaccessible a no access message will be shown. NOTE: IF this parameter is disabled, the field will be invisible to users with no access, without any message or warning that it exists | multilist | 0 = No1 = Yes | 0 (No) |
No access messageno_acc_msg | Leave this blank to use system's default no access message, or enter a custom message for this field | text | — | — |
Export
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Include in CSV exportinclude_in_csv_export | Select to include field in CSV export. Take care that not all fields support CSV export. Please test to determine if this field is included properly, since a special method is needed but not implemented yet by all fields | radio | 0 = No1 = Yes | 0 (No) |
Backend View
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Backend view appearancebackend_view_appearance | How this field's value is displayed in the admin items list. Overrides the global 'Custom columns appearance' setting when not set to Default. | multilist | 0 = Default1 = Check mark2 = Clean up HTML and trim | 0 (Default) |
Trim length (characters)backend_view_trim_chars | Number of characters to keep after stripping HTML tags. | text | — | 100 |
Layout
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Values layoutviewlayout | Please note: - do not modify default layouts, - custom layouts may need updating in future to respect new configuration and work properly - to create new copy (same folder): plugins/flexicontent_fields/FIELD_TYPE/tmpl/value_*.php as value_mytemplate.php - or to folder: /templates/SOME_NAME/html/flexicontent_fields/FIELD_TYPE/ and then modify | fcfilelist | — | — |
Value display
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Show no value messageshow_no_value | Display a message that field has no value instead of empty display | multilist | 0 = No1 = Yes | 0 (No) |
No value messageno_value_msg | The text to display when field has no value, leave empty to show default text | text | — | — |
Value list
Prefix - Suffix - Separator
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Preset configurationsprx_sfx_open_close_configs | This is a list of preset configurations, after loading them, you can click custom again to customize them | multilist | — = Customize1 = List: numbered2 = List (bullets)3 = List (circle)4 = List (square)5 = List (no marking)6 = Badge7 = Badge success8 = Badge info9 = Badge warning10 = Badge important | — |
Remove spaceremove_space | Remove the space between prefix value and suffix. It's recommended for plugin use, for example {play}mysong.mp3{/play} | radio | 0 = No1 = Yes | 0 (No) |
Every value prefixpretext | This text is placed immediately before every field value | text | — | — |
Every value suffixposttext | This text is placed immediately after every field value | text | — | — |
NOTE: opening / closing texts and value separator, are not used inside a fieldgroup
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Value separator (frontend views)separatorf | Choose a separator to separate the values in frontend views (placed between values) | multilist | 0 = Space1 = Line break6 = Horizontal line2 = Pipe3 = Comma4 = Texts: Closing + Opening5 = Empty (No characters)7 = Custom separator | 1 (Line break) |
Custom separatorseparatorf_custom | — | text | — | — |
Opening text for Fieldopentag | This applied once at the START of the field. It is meant to create the start of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type. | text | — | — |
Closing text for Fieldclosetag | This applied once at the END of the field. It is meant to create the end of the field HTML, but above you can choose to place it as SEPARATING text of the values too. But prefer to use parameters: Prefix/Suffix text of values if they exist for this field type. | text | — | — |
Content plugins
Content Plugins -- You need this for description field, for other fields enable only if needed
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Trigger content pluginstrigger_onprepare_content | Enable this option if you want to trigger content plugin event: onPrepareContent. A small number of plugins may not work outside com_content. | multilist | 0 = No1 = Yes | 0 (No) |
Trigger inside categorytrigger_plgs_incatview | Trigger content plugins on this field when item is displayed in a category view | radio | 0 = No1 = Yes | 0 (No) |
Specific plugins onlyplugins | You can choose specific plugins in this list or leave empty to trigger all. This feature is useful in some cases to avoid conflicts, multiple displays or reduce the load. Keep in mind that once the plugin is imported for a field, it will automatically be executed on all following fields in the loop. | pluginlist | — | — |
Viewing
Playback
Media
Media Info
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Titledisplay_title | Shows the title of the media under the media player | multilist | 0 = No1 = Yes | 1 (Yes) |
Title HTML Tagheadinglevel | HTML tag for the title (Heading Levels: 1-6) | list | 1 = H12 = H23 = H34 = H45 = H56 = H6 | 3 (H3) |
Authordisplay_author | Shows the name of the author under the media player | radio | 0 = No1 = Yes | 0 (No) |
Descriptiondisplay_description | Shows the media description under the player | radio | 0 = No1 = Yes | 0 (No) |
Native APIs only
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Durationdisplay_duration | Shows the duration of the media in hh:mm:ss format under the media player | radio | 0 = No1 = Yes | 0 (No) |
Media player
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Player Widthwidth | Enter the width of the iframe containing the media player in pixels | text | — | 480 |
Player Heightheight | Enter the height of the iframe containing the media player in pixels | text | — | 270 |
Player positionplayer_position | Select the position of the media player relative to the media meta data: title, author, description | radio | 0 = Before meta data1 = After meta data | 0 (Before meta data) |
APIs (keys, etc)
Embeding method Either use embed.ly only, - or - also use native APIs: youtube, vimeo, dailymotion NOTE: this will not change embeding method of already saved values
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Embed withuse_native_apis | Disable to also use native APIs | multilist | 0 = noembed API only1 = noembed API and native APIs | 0 (noembed API only) |
Privacy embeedprivacy_embeed | If the media provider supports this, then try to embeed the media so that personal data logged are minimized | radio | 0 = No1 = Yes | 0 (No) |
Autostartautostart | Includes autostart/autoplay parameter to embed URL. This option is set at fetch and saved with the embed URL. Changing it here requires to re-fetch media. | radio | 0 = Browser disabled (security concerns) | 0 (Browser disabled (security concerns)) |
Embed.ly Configuration
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Force SSLforce_ssl | Forces the embedded iframe to use SSL. This option is set at fetch and saved with the embed URL. Changing it here requires to re-fetch media. | radio | 0 = No1 = Yes | 1 (Yes) |
Youtube Configuration
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Youtube API Keyyoutube_key | Get your youtube v3 API Key (at Google Developer console) https://developers.google.com/youtube/v3/getting-started | text | — | — |
Debug
| Option | Description | Type | Values | Default |
|---|---|---|---|---|
Javascript debugdebug_to_console | Enable this to add debug information to browser console about AJAX server API calls | radio | 0 = No1 = Yes | 0 (No) |