You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Registering your own service video (it's easy !)
67
67
If you want to register an implementation of some service your class just needs to implement the "RicardoFiorani\Adapter\VideoAdapterInterface" or extend the RicardoFiorani\Adapter\AbstractServiceAdapter
68
68
69
-
A Fully functional example can be found [Here](https://github.com/ricardofiorani/php-video-url-parser/tree/master/example/RegisteringANewService.md).
69
+
A Fully functional example can be found [Here](https://github.com/ricardofiorani/php-video-url-parser/tree/master/documentation/RegisteringANewService.md).
70
70
71
71
PS: If you've made your awesome implementation of some well known service, feel free to send a Pull Request. All contributions are welcome :)
72
72
@@ -76,9 +76,9 @@ In this project I've used a simple renderer (which just does an echo of an ifram
76
76
Here's an example:
77
77
### My Example Renderer Class
78
78
```php
79
+
<?php
79
80
namespace MyVendor\MyRenderer;
80
81
81
-
82
82
class MyOwnRenderer implements \RicardoFiorani\Renderer\EmbedRendererInterface
83
83
{
84
84
@@ -91,7 +91,7 @@ class MyOwnRenderer implements \RicardoFiorani\Renderer\EmbedRendererInterface
91
91
public function render($embedUrl, $height, $width)
0 commit comments