-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The YouTube snippet shows the GtWebView address bar above the video.
Under Windows, this address bar contains a data: URL which is quite large (spanning several lines), taking away screen space.
Under OS X, the address bar contains about:blank
and clicking reload indeed blanks out the video.
As a work-around, I've added the following to my startup.st
:
LeYoutubeReferenceElement compile:
((LeYoutubeReferenceElement methodNamed: #updatePicture) sourceCode
copyReplaceAll: '</iframe>'' ' with: '</iframe>''; removeChildAt: 1 ').
which hackily removes the address bar element, as I haven't found a more elegant way of hiding it through GtWebView's API.
Thanks for the fix.
Metadata
Metadata
Assignees
Labels
No labels