Embeds in ThingsBoard Dashboards - widget

I am just wondering if it is possible to create a Thingsboard dashbaord widget that contains custom HTML. Specifically, is it possible to embed other content in a dashboard using a custom widget of some sort?
My use case is that I want to embed a video or some other feed into the board (ref: Video feed to ThingsBoard dashboard) and I'm trying to find some alternatives.

Yes you can create your own widgets and yes you can write your own HTML, CSS and Javascript for those widgets.
Check out the Widgets Development Guide to get started.

Related

Customised Twitter Feed on website

I am creating a website for a customer who would like a Twitter feed on their page. I am aware of the standard Twitter feed via the embedded code on Twitter or via the various plug ins however they do not allow me to customise the feed to the extent I would like to customise it to. I have attached an image to this post. Is it possible to fully style a feed like this? The caption image is not an issue as I can make it the background image but is the rest possible?
Andi
Use rest api from twitter you will get json and can format them how ever you want.
Use the rest api console of twitter here.
https://dev.twitter.com/rest/tools/console
If you are not sure how rest APIs work please do a google for that

Is it possible to generate a Box upload embed widget via the API?

I'd like to programmatically create Box.com upload embed widgets for specific folders for our account. It looks like it is possible to create a shared link: https://box-content.readme.io/#create-a-shared-link-for-a-folder
But I don't see any way do this in the API:
I've looked at the requests the above webpage is sending to create the widget and it looks like I could recreate them, but it would be nice to not have to rely on something that isn't documented. It doesn't look like the widget generation page is using the 2.0 API.
While it is not possible to create a Box Upload widget via the API you can create a Box Embed window via the API (check out the documentation here: https://developers.box.com/box-embed/)
This will give you an iframe that you can embed in your site for users to drag and drop content and upload to Box.

Track Vimeo via Google Tag Manager without iframes

I'm helping out with a university page, and they use Adobe CQ5 as their cms. Anyway, I'm trying to track Vimeo vids via Google Tag Manager without inputting codes into the iframe as we are only allowed to embed media via CQ5 components (we're restricted to using the components because IT set the software to accommodate authors of varying skill levels). I've found an ideal tutorial for YouTube, where all coding is done via GTM and wonder if there's a similar one for Vimeo: http://www.optimizesmart.com/youtube-video-tracking-via-google-tag-manager/
Thanks in advance.
You can do it if you can ensure that jQuery is loaded and you have to ability to add a custom plugin to your page code.
Check out vimeo.ga.js for details. You won't be able to get extended events like progress tracking unless you can modify the embed code, but you'll get play, pause, resume, and completed.

Documentation for getting Facebook feed stream on website?

Trying to integrate a Facebook page stream into an element for a website?
The Facebook Like Box has a "show stream" option that displays this data.
Be aware, it is against Facebook's policy to exactly copy any of it's features and use on your own site (as if emulating Facebook).
With that said, you need to grab this information manually using either the Graph API or FQL. There is no social plugin that can do this automatically.
You can check out the Graph API documentation here: https://developers.facebook.com/docs/reference/api/
You can test out some Graph API calls here:
https://developers.facebook.com/tools/explorer/
You can learn more about FQL here:
https://developers.facebook.com/docs/reference/fql/

Pdf to Html (+ javascript)

On our current site we offer our clients some brochures as pdf.
To keep our interaction in-site we were advised to use a conversion tool that converts pdf to flash.
Such a flash utility is basically an slideshow with some fancy effects and buttons.
This looks like a job jquery (or other frameworks) have mastered by now. There are a metric ton of jquery slider plugins.
Is there an existing solution that we can offer our marketing team that accepts a pdf and converts it to a (jquery) slider?
EDIT
The functionality should somehow be integrated in our Drupal content management interface so our Marketing and Communication department can use it.
You can use ImageMagick to convert a pdf to a bunch of images, then feed those images to a (jquery) slider anyway you want.
If you want a PDF2HTML conversion tool, you could also have a look at our new Java app to do this pdf_to_html_conversion.