Keyword

QT_WriteOBJECT_XHTML is not defined

More
8 years 6 months ago - 8 years 6 months ago #158676 by ehsan
hi

i just installed allvideos and add {mov}filename{/mov} in an article. but it doesn't show up
and this error occurs in console: QT_WriteOBJECT_XHTML is not defined

look at this image:


and in virtuemart product detail page, it show only the text: {mov}filename{/mov}

what should i do? how should i fix this?

this is the article's address:
www.farafan-market.ir/fa/essays/technical-essays/315-%D8%B3%DB%8C%D8%B3%D8%AA%D9%85-%D9%87%D8%A7%DB%8C-%D8%AD%D9%81%D8%A7%D8%B8%D8%AA%DB%8C-%D8%AF%D8%B1-%D8%A8%D8%B1%D8%A7%D8%A8%D8%B1-%D9%86%D9%88%D8%B3%D8%A7%D9%86%D8%A7%D8%AA-%DA%AF%D8%B0%D8%B1%D8%A7%DB%8C-%D9%88%D9%84%D8%AA%D8%A7%DA%98-%D9%88-%D8%AC%D8%B1%DB%8C%D8%A7%D9%86
Last edit: 8 years 6 months ago by ehsan. Reason: the link to the article added

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #158687 by Krikor Boghossian
Replied by Krikor Boghossian on topic QT_WriteOBJECT_XHTML is not defined
Hello there,

Can you disable the minification of JS files?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #158709 by ehsan
Replied by ehsan on topic QT_WriteOBJECT_XHTML is not defined
I did. but nothing changed.
:/

any help would be appreciated.
I really need this extension.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 6 months ago #158714 by Krikor Boghossian
Replied by Krikor Boghossian on topic QT_WriteOBJECT_XHTML is not defined
It helped me a lot thought.
This file does not appeat to be loading -> /plugins/content/jw_allvideos/jw_allvideos/includes/js/quicktimeplayer/ac_quicktime.js?v=4.7.0

Can you try installing the DEV version? github.com/joomlaworks/allvideos/

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago - 8 years 6 months ago #158719 by ehsan
Replied by ehsan on topic QT_WriteOBJECT_XHTML is not defined
I did install allvideos-master.
the js error is gone. and the code has changed, but yet nothing shows up.. :/
and when the article page loads, the file begins to download..
Last edit: 8 years 6 months ago by ehsan.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 5 months ago #158726 by Krikor Boghossian
Replied by Krikor Boghossian on topic QT_WriteOBJECT_XHTML is not defined
The mov can be accessed but it will be downloaded instead of being streamed.

This means that the encoding of the video is probably wrong and Flash (a bad thing) might be needed in order to stream it.

I would propose the following.
a) Use YouTube or a similar service or,
b) Use an .mp4 file with the h264 encoding.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #159865 by ehsan
Replied by ehsan on topic QT_WriteOBJECT_XHTML is not defined
I did upload an mp4 file.
now the player shows up, but when i play the video, it says:
"Error loading media:
file could not be played"


any help would be appreciated...

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #159877 by ehsan
Replied by ehsan on topic QT_WriteOBJECT_XHTML is not defined
any Help??
how can i Use an .mp4 file with the h264 encoding?

how can i know the mp4 file that i'm uploading is with h264 encoding?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 months ago #159887 by Krikor Boghossian
Replied by Krikor Boghossian on topic QT_WriteOBJECT_XHTML is not defined
The video itself can't be played from the browser
www.farafan-market.ir/images/videos/4320.mp4

The videoencoder you are using will probably have the option for the h.264 codec.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #159902 by ehsan
Replied by ehsan on topic QT_WriteOBJECT_XHTML is not defined

Krikor wrote: The video itself can't be played from the browser
www.farafan-market.ir/images/videos/4320.mp4

The videoencoder you are using will probably have the option for the h.264 codec.


what should i do to solve this problem? i'm a little confused.
you mean i can only play .mp4 with h264 codec? isn't that bad or odd?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 months ago #159919 by Krikor Boghossian
Replied by Krikor Boghossian on topic QT_WriteOBJECT_XHTML is not defined
It's a format that (most) browsers support.
If the video's format can't be played by the browser then the video won't be shown or it will be shown with issues (eg: no sound).

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #160683 by ehsan
Replied by ehsan on topic QT_WriteOBJECT_XHTML is not defined
problem solved in article pages.
but in product pages (im using virtuemart) the video wont show and only the text like {mp4}filename{/mp4} appears.
what is the problem?

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 month ago #160711 by Krikor Boghossian
Replied by Krikor Boghossian on topic QT_WriteOBJECT_XHTML is not defined
Hello,

Make sure that the template supports content plugins.
This issue will affect all plugins not just AllVideos.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #160715 by Yakup
Replied by Yakup on topic QT_WriteOBJECT_XHTML is not defined
Thanks for your reply. The template does support plug-ins. I already use the plug-in Google Maps.

Yakup

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #160718 by Yakup
Replied by Yakup on topic QT_WriteOBJECT_XHTML is not defined
It is v4.7.0

Please Log in or Create an account to join the conversation.

More
8 years 1 month ago #160768 by ehsan
Replied by ehsan on topic QT_WriteOBJECT_XHTML is not defined

Krikor wrote: Hello,

Make sure that the template supports content plugins.
This issue will affect all plugins not just AllVideos.


hello

yes it does.
when i put the code {mp4}aa{/mp4} in product description it works,
but when i put the code somewhere else like a custom field it doesn't work.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 1 month ago #160821 by Krikor Boghossian
Replied by Krikor Boghossian on topic QT_WriteOBJECT_XHTML is not defined
This means that these fields do not support content plugins.
You need to manually trigger content plugins in your template. For K2's extrafields you can use the textarea field and use the WYSIWYG editor.
For VM you need to consult's VMs documentation.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum