Closed sndsabin closed 4 years ago
Hi @sndsabin I 've created a branch for your changes with the name of sndsabin/master
please checkout from it and send PR to that sndsabin/master
branch again. :pray:
Sorry for inconvenicence
@winhtaikaung a new PR is open for this same changes https://github.com/winhtaikaung/react-tiny-link/pull/46
add
onlySecure
propstrue
, loads only secure (https://
) resources. If no secure resource was found, then<img>
and<video>
element wont be renderedfalse
works as beforehttp
Video Url ExampleWith
onlySecure={false}
works exactly as before
With
onlySecure={true}
No
video
tag present in DOMP.S: Always loads resources over
https
whenever possible.