Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
407
Merge Requests
67
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Compare Revisions
85b7e3c2f3cd78881ff926ad7343d4a46888a0a6...9764b044db420836fee38bb43eae869cd79c6860
Source
9764b044db420836fee38bb43eae869cd79c6860
...
Target
85b7e3c2f3cd78881ff926ad7343d4a46888a0a6
Compare
Commits (2)
Fixed black youtube previews due to YT end depreciation
#2585
· a53b882f
Ben Hayward
authored
19 hours ago
a53b882f
Merge branch 'fix/black-youtube-preview-2585' into 'master'
· 9764b044
Xander Miller
authored
3 minutes ago
Black youtube preview
#2585
See merge request
!786
9764b044
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/app/common/components/rich-embed/rich-embed.ts
View file @
9764b044
...
...
@@ -161,7 +161,7 @@ export class MindsRichEmbed {
className
:
'
m-rich-embed-video m-rich-embed-video-iframe m-rich-embed-video-youtube
'
,
html
:
this
.
sanitizer
.
bypassSecurityTrustHtml
(
`<iframe
src="https://www.youtube.com/embed/
${
matches
[
1
]}
?controls=
2
&modestbranding=1&origin=
${
origin
}
&rel=0"
src="https://www.youtube.com/embed/
${
matches
[
1
]}
?controls=
1
&modestbranding=1&origin=
${
origin
}
&rel=0"
frameborder="0"
allowfullscreen></iframe>`
),
playable
:
true
,
...
...
This diff is collapsed.