Audio Article with Feature Audio and AMP

Posted in: Newspaper
Post count: 67

When I use an “Audio Article” with link to the file in “Feature Audio” it shows the audio control in Desktop but in AMP I must use an “AUDIO BLOCK” to have an audio control.
So in Desktop my article have two audio controls.
Am I doing somthing wrong?
Thanks

Post count: 27744

Hello,

Please provide the link to your website.
Also, please check our documentation about amp and mobile theme -> https://forum.tagdiv.com/mobile-theme-introduction/ -> https://forum.tagdiv.com/tagdiv-amp-plugin-tutorial/ -> https://forum.tagdiv.com/the-mobile-theme/

Thank you!

Post count: 67
Post count: 27744

Hello,

Did you have hide the featured image for mobile theme?

Thank you!

Post count: 67

In the Mobile Theme yes I hide the featured image but that´s not the version I see.
In my smartphone I see the AMP version.

Post count: 27744

Hello,

For AMP, the settings are from Theme Panel -> Mobile Theme, so if you hide the featured image from Mobile Theme, you hide it also for AMP.
Please check this topic where I explained each mobile version -> https://forum.tagdiv.com/topic/mobile-version-not-working-properly-2/ and choose your mobile version.

Thank you!

Post count: 67

My problem is not the Image.
[original question]
When I use an “Audio Article” with link to the file in “Feature Audio” it shows the audio control in Desktop but in AMP I must use an “AUDIO BLOCK” to have an audio control.
So in Desktop my article have two audio controls.
Thanks

  • This reply was modified 3 years by AntonioT.
Post count: 27744

Hello,

The featured image element is implemented with the functionaluty also, for video and audio, please enable it, and you will be able to see the audio for the amp.

Thank you!

Post count: 67

I have removed the “hide image” in Mobile Theme but,
As you may confirm, in Mobile, it shows the image and the audio control now
but not in AMP.
The article/Audio Link: https://noticiaslx.pt/2023/02/02/loures-apresentacao-publica-metro-ligeiro-palacio-dos-marqueses-parque-da-cidade/

Thanks

  • This reply was modified 3 years by AntonioT.
Post count: 27744

Hello,

I just checked and seemed to be a bug for the amp with the featured audio.
Until this is solved, you can hide the audio block that is displayed on the desktop and let it to the amp.

Thank you!

Post count: 67

Ok it works.
Thanks

Post count: 67

Sorry but when I hide the audio block it also hides the article text.
So, I have to look for another solution, until an update for – the bug for the amp with the featured audio.
Thanks

Post count: 27744

Hello,

For the audio block, you can add an extra class https://i.imgur.com/yikEH7I.png, so you can do a custom code to hide it for the desktop and display only for the amp, set the code here https://i.imgur.com/caVLVwm.png

Thank you!

Viewing 13 posts - 1 through 13 (of 13 total)
The forum ‘Newspaper’ is closed to new topics and replies.