Closed Linkerss closed 6 months ago
For Twitter, I believe so. You would need to add the autoplay
and muted
attributes to the video tag on this line: https://github.com/stefansundin/rssbox/blob/271e80b066b237c5db77e029a174a8b1a94ba48d/config/initializers/05-string.rb#L192
For Instagram, not as far as I know. I don't try to get the URL to the video file, so I just embed the whole post in case there is a video in it.
I have no experience with this. Could you do it for me on your App on my Heroku account?
Thank you
Stefan, How and where can I find that video line? Is it in your App? Or inside WP?
I've tried to change video attributes in WP Core files but it didn't work,
Thank you
As the code snippet explains, it is in the file rssbox/config/initializers/05-string.rb
on line 192.
The thing is I'm not really sure how to get into rssbox config files. Could you please help?
I would like to add loop feature too if possible to have Gifs playing normally,
Thank you
You could make all of these changes on GitHub. First, you would need to fork the repository (use the fork button in the top right corner). Then, find the file and click the Edit button. Make the necessary changes.
Then, to deploy you would need to use a Terminal. In very broad terms, you would do the following:
git clone [...]
your fork.git remote add heroku [...]
.git push heroku master
).Not really sure why you forcing users to do these things. I'm not a developer. I don't know how to do this.
I just ask for simple help and I respect your work and you as an App Author
I am not forcing you to do anything. You don't need to use the app if you don't want to. I have told you what steps you need to take to achieve your goal, but you can't expect me to perform these tasks for you.
Hey Stefan I made it. I'm so happy about it.
I did changes through Heroku.
Thank you so much :)
Stefan, Gifs and YouTube videos are still not able to do autoplays.
Any chance to change that?
Thank you
For YouTube, you need to add an &autoplay=1
parameter to two places:
Second place is only for YouTube feeds themselves, not sure if you use them, but here it is:
What gifs are you looking to add autoplay to?
Hey Stefan, YouTube autoplays are still not on even though I did everything you said.
I'm talking about Twitter Gifs autoplay. They seems to be short videos but somehow they still don't do autoplays after update,
Thank you
Hey Stefan, Is it possible to autoplay Twitter and Instagram videos but mute them?
Thank you