Embedding external content
Extension module for embedding external content
This is how the privacy-compliant integration of content from social networks on the websites of the TU Chemnitz works.
When you click on the button, a pop-up first opens to confirm data transmission to the external service, and only then is the actual content displayed.
Embedding of external provider's content
The display of embedded external content of the platform Instagram on the website of Chemnitz University of Technology and therefore the connection to the external server of the platform provider requires your consent before. First when you have given your consent for this provider (personal) data will be transmitted to the external server operator so that the content display can take place. The operator may be located in a non-European country.
With submitting the button you agree formally and voluntarily that you personal data as described in the Data Protection Policy with its there specified purposes will be processed for embedding of external content on the website of Chemnitz University of Technology. Your consent can be revoked separately or as a whole at any time without undue disadvantages for the future.
Function and features of the module
- data protection-compliant integration of plugins from social networks and map services (2-click solution, first confirmation for data transmission via pop-up)
- the following services are currently supported: Facebook (post, comment, video), Google Maps (map), Instagram (photo), OpenStreetMap (map, API), X former Twitter (post, timeline), YouTube (video)
Integration of the module
In the TUCAL editor, this information is entered in the „Seiteneinstellungen (PHP)“ (page settings) text field:
require_once('php/ext.inc');
Basic structure
echo ext_embed(string $code [, array($options)])
Possible parameters
$code
| PHP string- source code to be embedded from the service for embedding/embedding the plugins (e. g. YouTube link)
$options
| PHP array [optional]- Array of values that affect the style
- Possible entries:
'button'
(changes the text or replaces the button with HTML objects e. g. images),
'css_class'
(sets a self-defined CSS class around the plugin)
There is one more functionality (ext_hs_url()
) which calls a pop-up with the external content. Details and examples can be found in the documentation.
Examples
echo ext_embed('<iframe src="https://www.youtube.com/embed/I2l1CtdiVzI" [...] ></iframe>');
Embedding of external provider's content
The display of embedded external content of the platform YouTube on the website of Chemnitz University of Technology and therefore the connection to the external server of the platform provider requires your consent before. First when you have given your consent for this provider (personal) data will be transmitted to the external server operator so that the content display can take place. The operator may be located in a non-European country.
With submitting the button you agree formally and voluntarily that you personal data as described in the Data Protection Policy with its there specified purposes will be processed for embedding of external content on the website of Chemnitz University of Technology. Your consent can be revoked separately or as a whole at any time without undue disadvantages for the future.
echo ext_embed('<blockquote class="twitter-tweet">Herzlich Willkommen in der #TUCFamilie [...] </blockquote>',
array('button' => '<button class="btn btn-primary"><span class="tucicon-sm-tw">Messages of the
TU Chemnitz</span></button>'));
Embedding of external provider's content
The display of embedded external content of the platform Twitter on the website of Chemnitz University of Technology and therefore the connection to the external server of the platform provider requires your consent before. First when you have given your consent for this provider (personal) data will be transmitted to the external server operator so that the content display can take place. The operator may be located in a non-European country.
With submitting the button you agree formally and voluntarily that you personal data as described in the Data Protection Policy with its there specified purposes will be processed for embedding of external content on the website of Chemnitz University of Technology. Your consent can be revoked separately or as a whole at any time without undue disadvantages for the future.