Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sg_youtube
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TYPO3
sg_youtube
Commits
535c0a76
Commit
535c0a76
authored
1 year ago
by
Georgi
Browse files
Options
Downloads
Patches
Plain Diff
[BUGFIX] Improve README.md
parent
c6b962df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-6
6 additions, 6 deletions
README.md
with
6 additions
and
6 deletions
README.md
+
6
−
6
View file @
535c0a76
...
...
@@ -57,17 +57,17 @@ If the `?disableYoutubeCache=1` parameter is added to the URL, this cache will b
You can use a different API key for specific sites. You can implement a TypoScript page uid check and just change the
key from the "TypoScript integration" topic.
### Making changes in
the
JavaScript/CSS
We are shipp
n
ing the extension with source files and already minified assets. By default
### Making changes in JavaScript/CSS
We are shipping the extension with source files and already minified assets. By default
,
we the minified assets are loaded in the Layout, so that the extension works out of the box just with plug and play.
Should you want to change this behavior you can do to the following:
Should you want to change this behavior
,
you can do to the following:
-
Override the layout
file in TypoS
cript
-
Override the layout
path in TypoScript local/project_theme/Configuration/TypoScript/Extensions/SgYouTube/Constants.typos
cript
```
view {
layoutRootPath = EXT:project_theme/Resources/Private/Layouts/SgYouTube/
}
```
-
Remove the CSS or JavaScript loading code from the layout
-
Create a new layout file omitting the assets that you would like to change (for example loading without CSS)
```
<div class="tx-sg-youtube">
<f:asset.script identifier="sgVideoJs" src="EXT:sg_youtube/Resources/Public/JavaScript/Dist/main.bundled.min.js" />
...
...
@@ -75,7 +75,7 @@ Should you want to change this behavior you can do to the following:
</div>
```
-
Import the CSS or JavaScript source files in your respective asset pipeline
-
Import the CSS or JavaScript source files in your respective asset pipeline
and add them externally.
### Compiling CSS/JS assets with SGC
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment