TypoScript¶
video_shariff
needs some basic TypoScript configuration. To do so you have
to add an +ext template to either the root page of your website or to a
specific page where you want to use the video_shariff
functionality.
Locate page
You have to decide where you want to insert the TypoScript template. Either root page or page with the video output.
Create TypoScript template
Switch to template module and choose the specific page from above in the pagetree. Choose
Click here to create an extension template
from the right frame. In the TYPO3 community it is also known as "+ext template".Add static template
Choose
Info/Modify
from the upper selectbox and then click onEdit the whole template record
button below the little table. On tabIncludes
locate the sectionInclude static (from extension)
. Use the search belowAvailable items
to search forvideo_shariff
. Hopefully just one record is visible below. Choose it, to move that record to the left.Save
If you want you can give that template a name on tab "General", save and close it.
Constants Editor
Choose
Constant Editor
from the upper selectbox.video_shariff
constantsChoose
lib.video_shariff
from the category selectbox to show justvideo_shariff
related constantsConfigure constants
Adapt the constants to your needs.
Configure TypoScript
As constants will only allow modifiying a fixed selection of TypoScript you also switch to
Info/Modify
again and click onSetup
. Here you have the possibility to configure allvideo_shariff
related configuration.
Lib¶
video_shariff.defaultThumbnail¶
Default: Value from Constants EXT:video_shariff/Resources/Public/Images/DefaultThumbnail.png
The default thumbnail is rendered when no video specific thumbnail can be fetched.
Example:
lib.video_shariff.defaultThumbnail = EXT:site_package/Resources/Public/Images/FunnySunnyThumbnail.png*
Language¶
Override preview image text¶
You can override the default preview image text and adding new languages via TypoScript setup.
plugin.tx_videoshariff._LOCAL_LANG.default.preview\.text = I am a custom preview text...
plugin.tx_videoshariff._LOCAL_LANG.de.preview\.text = Ich bin ein angepasster Vorschautext...