When I send a link to a YouTube video in a message, I can't watch the video inside the chat window and instead Youtube says I need either Adobe Flash Player or a web browser with HTML5 support. Reproducible: Always
Thanks for the report. I take it that you don't have flash player installed? Also, is this the 0.9/stable version?
Correct - it's 0.9.0. I have adobe-flash installed and I can watch YouTube clips (at youtube.com, not in the embedded mode) in rekonq which is also webkit-based and does not support the HTML5 video tag. Looked at the log output of KTp and rekonq and both of them tell me about "QObject(0x0)" even though youtube works somehow in rekonq: rekonq(4459)/kdewebkit KWebPluginFactory::create: Asked for "application/x-shockwave-flash" plugin, got QObject(0x0)
So to make sure I understand correctly - if you open some site with _embedded_ youtube video in rekonq, it will not play the video either?
There are a few changed in the behaviour after installing KDE Plasma 5 and updating to a Git version of KTP, may be I partly bricked my system because of that: 1. Videos do not play in rekonq anymore, 2. In the KTP chat application the error message is now different: it shows a preview screen with the Play arrow icon in the middle, but when I click that button it says "An rrror occurred. Please try again later. [Learn More]". I'll close this bug until I get rekonq working or there is someone else with YouTube working in rekonq but not in KTP.
I installed a Git version of rekonq (KF5-based) and YouTube works there both at youtube.com and as embedded videos. The same video does not work in KTP with the symptoms described above ("An error occurred. Please try again later. [Learn More]").
That is embedded videos in rekonq, right? Could you add [Appearance] debug=true to $CONFIG_DIR/ktelepathyrc, restart ktp-text-ui, paste the youtube video, right click in the chat window, select "Inspect..." and check if the embedded code matches the one in rekonq? If you try to paste the very same html code from rekonq into the webkit inspector, does it work then?
Yes, embedded videos do work in rekonq. I copied the HTML code from the Web inspector from KTP chat window, saved in a file and opened it in rekonq. The video plays in rekonq. And still does not play in the KTP chat window O_o.
Is the embedded code actually a flash object? or html5 video? Fwiw the html5 crashes altogether on Qt 5.4.1, so I'm thinking about just disabling it altogether. Also, for 0.9, there won't be anymore updates I'm afraid.
It's a flash object in rekonq, but is an HTML5 video in KTP chat window O_o.
Git commit fd85d325369aef18fbde83ce5a2720b6dc33b24e by Martin Klapetek. Committed on 31/07/2015 at 16:12. Pushed by mklapetek into branch 'Applications/15.08'. [filters/youtube] Disable the youtube filter by default It causes lots of troubles and crashes and generally is just not worth it. M +1 -1 filters/youtube/ktptextui_message_filter_youtube.desktop.cmake http://commits.kde.org/telepathy-text-ui/fd85d325369aef18fbde83ce5a2720b6dc33b24e