This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Render video inside KMail

Tags: None
(comma "," separated)
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS

Render video inside KMail

Thu Dec 10, 2015 11:35 am
Hi,

I use rss2email to receive rss as email. If a post contains video then it won't be shown in the Kmail. What is the reason for it not being able to render videos inside email html view.

The video is usually shown like following code.

Code: Select all
<video controls="" height="720" poster="http://danielpocock.com/sites/danielpocock.com/files/frame3401.png" preload="metadata" width="1280">
<source src="http://video.danielpocock.com/ib-webrtc.webm" type="video/webm"></source>


Below you can see the source of email. The blog post can be found here

Code: Select all
<!DOCTYPE html>
<html>
  <head>
</head>
<body>
<div id="entry">
<h1 class="header"><a href="http://danielpocock.com/is-webrtc-one-of-your-goals-for-2016">Daniel Pocock: Is WebRTC one of your goals for 2016?</a></h1>
<div id="body">
<img src="http://planet.debian.org/heads/pocock.png"  alt="" style="float: right;">
<div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p><a href="http://danielpocock.com/tags/webrtc">WebRTC</a> continues to gather momentum around the world.  Over the next week, Paris will host <a href="http://tadhack.com/2015/tadhack-mini-paris/">a TADHack event on WebRTC (12-13 December)</a> followed by Europe's most well known meeting of the WebRTC community, <a href="http://uppersideconferences.com/webrtc/">the annual WebRTC Conference and Expo</a>, 16-18 December.</p>
<p>2015 has been a busy year for WebRTC developers, in the browser, on the server-side and even in documentation, with the online publication of <a href="http://rtcquickstart.org">The RTC Quick Start Guide</a>.  These efforts have all come together to create a stable foundation for many implementations in 2016.</p>
<h3>Demo</h3>
<p>The <a href="http://jscommunicator.org">JSCommunicator</a> demo video shows just how convenient WebRTC can be, looking at the first customer-facing WebRTC deployment on Wall Street, a project I put together back in 2014:</p>
<p>&lt;video controls="" height="720" poster="http://danielpocock.com/sites/danielpocock.com/files/frame3401.png" preload="metadata" width="1280"&gt;<br />&lt;source src="http://video.danielpocock.com/ib-webrtc.webm" type="video/webm"&gt;&lt;/source&gt;(click <a href="http://jscommunicator.org/sites-using-jscommunicator.shtml">here</a> to see it on the JSCommunicator page or <a href="http://video.danielpocock.com/ib-webrtc.webm">here</a> to download it)&lt;/video&gt;</p>
<p>This solution was implemented entirely with free, open source software integrated with a traditional corporate PBX.  The project involved significant innovation to bring together a new technology like WebRTC with a very established corporate telephony infrastructure.  For example, the solution makes use of the <a href="http://www.resiprocate.org/Python">reSIProcate Python scripting</a> to add the <a href="https://tools.ietf.org/html/rfc7433">Avaya UUI headers to the SIP signaling</a>, so it can integrate seamlessly with all existing Avaya customizations and desktop CRM software.</p>
<p>Is this something you can imagine on your organization's web site or as part of your web-based product or service?</p>
<h3>DruCall module for Drupal - WebRTC without coding</h3>
<p>If you run a <a href="http://danielpocock.com/tags/drupal-planet">Drupal</a> CMS or if you would like to, the <a href="http://drucall.org">DruCall</a> module provides a very quick way to get started with WebRTC.</p>
<p>On a Debian or Ubuntu server, you can automatically deploy the entire Drupal stack, Apache, MySQL and all module dependencies with</p>
<p><code>$ sudo apt-get install -t jessie-backports drupal7-mod-drucall</code></p>
<h3>JSCommunicator, the generic SIP phone for web pages</h3>
<p>If you don't want to do any JavaScript development, <a href="http://jscommunicator">JSCommunicator</a> may be the way to go.</p>
<p>JSCommunicator is a completely generic solution that can be completely re-branded just by tweaking the HTML and CSS.  All phone features can be enabled and disabled using <a href="https://github.com/opentelecoms-org/jscommunicator/blob/master/config-sample.js">the configuration file</a>.</p>
<h3>WebRTC plugins for CRM solutions</h3>
<p>As part of <a href="http://danielpocock.com/tags/gsoc">Google Summer of Code 2014</a>, Juliana Louback created a <a href="http://julianalouback.com/tech/2014/10/30/jscommunicator-at-xtuplecon-2014/">WebRTC plugin for the xTuple enterprise CRM and ERP suite</a>.</p>
<p>The source code of the DruCall and xTuple plugins provide an excellent point of reference for developing similar plugins for other web applications.  Both of them are based on JSCommunicator which is designed to embed easily into any existing HTML page or templating system.</p>
<h3>Get involved</h3>
<p>To find out more and discuss RTC using free software and open standards, please join us on the <a href="https://lists.fsfe.org/mailman/listinfo/free-rtc">Free-RTC mailing list</a>.</p>
</div></div></div>
</div>
<div class="footer"><p>URL: <a href="http://danielpocock.com/is-webrtc-one-of-your-goals-for-2016">http://danielpocock.com/is-webrtc-one-of-your-goals-for-2016</a></p>
</div>
</div>
</body>
</html>
User avatar
einar
Administrator
Posts
3402
Karma
7
OS

Re: Render video inside KMail

Sat Dec 12, 2015 10:42 pm
The HTML renderer in KMail's message view is not suited to render videos. Besides, playing videos requires often codecs that distributions cannot legally ship in their packages.


"Violence is the last refuge of the incompetent."
Image
Plasma FAQ maintainer - Plasma programming with Python
User avatar
Sudhir Khanger
Registered Member
Posts
237
Karma
0
OS

Re: Render video inside KMail

Sun Dec 13, 2015 8:42 am
einar wrote:The HTML renderer in KMail's message view is not suited to render videos. Besides, playing videos requires often codecs that distributions cannot legally ship in their packages.


In that case it would make sense to direct content to the browser that it can't handle. Showing code is not the best way to tell user that the content is not supported.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]