TypoScript
video_
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_
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/
from the upper selectbox and then click onModify Edit the whole template record
button below the little table. On tabIncludes
locate the sectionInclude static
. Use the search below(from extension) Available items
to search forvideo_
. Hopefully just one record is visible below. Choose it, to move that record to the left.shariff -
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_
constantsshariff Choose
lib.
from the category selectbox to show justvideo_ shariff video_
related constantsshariff -
Configure 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/
again and click onModify Setup
. Here you have the possibility to configure allvideo_
related configuration.shariff
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...