TerraME/publish

Report:addVideo()

Opened this issue · 1 comments

Implement Report:addVideo():

Report:addVideo{
    width=560,
    height=315,
    url = "https://www.youtube.com/embed/_O4TXbfYPng"
}

It will produce the following code:

"<center><iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/_O4TXbfYPng\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe></center>"

The new function was created and tested.