Jump to content

Gideon So

Members
  • Posts

    468
  • Joined

  • Last visited

  • Days Won

    1

Posts posted by Gideon So

  1. Hi @Neue Rituale

    Got this error when install the module. I am using PHP 7.1.

    Parse Error: syntax error, unexpected '?', expecting function (T_FUNCTION) or const (T_CONST) (line 37 of site/modules/FieldtypeOembed/FieldtypeOembed.module)

    How can I fix it?

    Gideon

  2. Hi @millipedia

    This is much faster than Ryan's one. One thing though, line 13, 14 of TextformatterLiteVideoEmbed.js should be modified as the following. Otherwise it doesn't work in pages other than the home page.

    const LiteYTEmbed = await import(tflve_script_path + '/lite-youtube.js');
    const LiteVimeoEmbed = await import(tflve_script_path + '/lite-vimeo.js');

    Gideon

×
×
  • Create New...