-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix missing title attribute on <iframe> tag suggested for embedding #3901
Conversation
server/tests/api/server/services.ts
Outdated
@@ -88,7 +88,7 @@ describe('Test services', function () { | |||
|
|||
const res = await getOEmbed(server.url, oembedUrl) | |||
const expectedHtml = '<iframe width="560" height="315" sandbox="allow-same-origin allow-scripts" ' + | |||
`src="http://localhost:${server.port}/video-playlists/embed/${playlistUUID}" ` + | |||
`title="${video.name}" src="http://localhost:${server.port}/video-playlists/embed/${playlistUUID}" ` + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be title="The Life and Times of Scrooge McDuck"
since it's the playlist embed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can i assign directly the string ?
Thanks @pthavarasa! |
👍 Thanks @pthavarasa and @Chocobozzz ! |
fixed this issue. Now there is a title in the iframe tag.
share video -> video title
share playlist -> playlist title
share playlist video(right click in the video to copy embed) -> video title