Fixed YouTube links

This commit is contained in:
Kenneth John Odle 2021-08-08 16:53:49 -04:00
parent 2794ec1b0d
commit d0553e3498

View File

@ -413,8 +413,8 @@ They can't be added directly but you can add an image with a link to the video l
Code:
```no-highlight
<a href="http://www.youtube.com/watch?feature=player_embedded&v=YOUTUBE_VIDEO_ID_HERE
" target="_blank"><img src="http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg"
<a href="http://www.youtube.com/watch?feature=player_embedded&v=sg90VJjZPKU
" target="_blank"><img src="http://img.youtube.com/vi/sg90VJjZPKU/0.jpg"
alt="IMAGE ALT TEXT HERE" width="240" height="180" border="10" /></a>
```
@ -429,9 +429,9 @@ Or, in pure Markdown, but losing the image sizing and border:
Code:
```no-highlight
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](https://www.youtube.com/watch?v=sg90VJjZPKU)
```
Results:
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](http://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)
[![IMAGE ALT TEXT HERE](http://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/0.jpg)](https://www.youtube.com/watch?v=sg90VJjZPKU)