xxxxxxxxxx
<iframe src="{LINK/SOURCE}" allow="autoplay; fullscreen; microphone" scrolling="no" webkitallowfullscreen="true" mozallowfullscreen="true" msallowfullscreen="true" allowfullscreen="true" style="border: 0px; background-color: rgb(7, 7, 7); width: 100%; height: 100%; min-width: 100%; min-height: 100%;" frameborder="0"></iframe>
xxxxxxxxxx
import pdfkit
def generate_pdf_from_html(html_template, output_path):
pdfkit.from_file(html_template, output_path)
# Usage example
html_template = 'path/to/template.html'
output_pdf = 'path/to/output.pdf'
generate_pdf_from_html(html_template, output_pdf)